openfermion.transforms.FenwickNode

Fenwick Tree node.

Main aliases

openfermion.FenwickNode, openfermion.transforms.opconversions.FenwickNode, openfermion.transforms.opconversions.fenwick_tree.FenwickNode

parent FenwickNode. A parent node.
children List. A list of children nodes (FenwickNode). index: Int. Node label.

Methods

get_ancestors

View source

Returns a list of ancestors of the node. Ordered from the earliest.

Returns
ancestor_list A list of FenwickNodes.

children None
index None
parent None