qib.tensor_network.contraction_treeΒΆ

Functions

perform_tree_contraction

Perform contraction as specified by contraction tree with root node.

Classes

ContractionTreeNode

Node in a binary contraction tree, following numpy.einsum's index specification convention for describing the contraction.