pytenet.opgraph

Operator graph internal data structure for generating MPO representations.

Classes

OpGraph(nodes, edges, nid_terminal)

Operator graph: internal data structure for generating MPO representations.

OpGraphEdge(eid, nids, opics)

Operator graph edge, representing a weighted sum of local operators which are indexed by their IDs.

OpGraphNode(nid, eids_in, eids_out, qnum)

Operator graph node, corresponding to a virtual bond in an MPO.

OpHalfchain(oids, qnums, nidl)

Operator half-chain, temporary data structure for building an operator graph from a list of operator chains.

UNode(oid, qnum0, qnum1, nidl)

Store the information of a U node, temporary data structure for building an operator graph from a list of operator chains.