Crate tnc

Crate tnc 

Source
Expand description

This library is designed to perform tensor network contractions, using partitioning of the network as parallelization strategy. To this end, it ships multiple methods to partition a tensor network for lowest contraction cost, for example, based on simulated annealing. The partitionings can then be contracted in parallel on a distributed-memory system, as common in high-performance computing. Local contractions on a single system are also possible.

Modules§

_tutorial
Tutorial
builders
Methods for creating tensor networks.
contractionpath
gates
Implementation of various quantum gates to be used in tensor networks.
hdf5
Import and export of tensors or tensor networks as HDF5 files.
mpi
Methods for MPI interaction, i.e., communication and synchronization between multiple compute nodes.
qasm
Import utilities for OpenQASM 2 code, a textual format for describing quantum circuits.
tensornetwork
Code concerning the tensor datastructure itself.

Macros§

path
Macro to create (nested) contraction paths, assuming the left tensor is replaced in each contraction.