View source on GitHub |
This takes a qubit wavefunction in the form of a string of qubit
fqe.openfermion_utils.convert_qubit_wfn_to_fqe_syntax(
ops: "QubitOperator"
) -> "FermionOperator"
operators and returns a string of FermionOperators with the proper formatting for easy digestion by FQE
Args | |
---|---|
ops (QubitOperator) - a string of qubit operators |
Returns | |
---|---|
out (FermionOperator) - a string of fermion operators |