![]() |
Fenwick Tree node.
openfermion.transforms.FenwickNode(
parent, children, index=None
)
Args | |
---|---|
parent
|
FenwickNode. A parent node. |
children
|
List. A list of children nodes (FenwickNode). index: Int. Node label. |
Methods
get_ancestors
get_ancestors()
Returns a list of ancestors of the node. Ordered from the earliest.
Returns | |
---|---|
ancestor_list
|
A list of FenwickNodes. |
Class Variables | |
---|---|
children |
None
|
index |
None
|
parent |
None
|