Module communication
Source - Communication
- Information needed for communication during contraction of the tensor network.
- broadcast_path
- Broadcast a contraction index
path from root to all processes in world. For
the receivers, path can just be an empty slice. - broadcast_serializing
- Broadcast a value by serializing it and sending it as byte array.
- intermediate_reduce_tensor_network
- Uses the
path as a communication blueprint to iteratively send tensors and contract them in a fan-in.
Assumes that path is a valid contraction path. - scatter_tensor_network
- Distributes the partitioned tensor network to the various processes via MPI.