A tool for finding & sorting the HF stabilizers
Since this is a simple python file, just include it directly in $PYTHONPATH.
Need Numpy package
from stabilizer import hf
myhf = hf(p) # p is the path or qiskit tensor object
myhf.run() # Predict the states
# now the tool can not deal with entangled states
# only core and vacuum orbitals could be fill.
myhf2 = hf(p)
myhf2.get_state_energy('000010111101')
# Check the energy of some certain state.
The pauli operators is stored in a sorted "quaternary tree" (like binary tree) so that when a stabilizer is found, the number of term decrease as
See more details in the examples