Skip to main content

Module tensor

Module tensor 

Source
Expand description

Tensor-network contraction back-end.

See contraction for the Tensor type with named legs, the TensorNetwork greedy contractor, and the amplitude evaluator that computes ⟨bitstring| U |0…0⟩ for shallow wide circuits without forming the full 2^n state vector.

Re-exports§

pub use contraction::Tensor;
pub use contraction::TensorNetwork;
pub use contraction::TnGate;
pub use contraction::amplitude;

Modules§

contraction
Tensor-network contraction back-end for shallow, wide quantum circuits.