pytenet.optree.OpTree

class pytenet.optree.OpTree(root: OpTreeNode, istart: int)[source]

Operator tree.

__init__(root: OpTreeNode, istart: int)[source]

Methods

__init__(root, istart)

height()

Height of the tree.

to_matrix(opmap)

Represent the logical operation of the tree as a matrix.