qib.tensor_network.symbolic_network.SymbolicBond

class qib.tensor_network.symbolic_network.SymbolicBond(bid: int, tids: Sequence[int])[source]

Bases: object

Symbolic bond in a tensor network, e.g., an edge or multi-edge between tensors. The corresponding axes of the respective tensor can be inferred from the bond ID index stored in the tensor. A bond can be connected to several axes of the same tensor; in this case, the same tensor ID is referenced multiple times by the bond.

Member variables:

bid: bond ID tids: tensor IDs

Methods