View source on GitHub |
Given an FQE wavefunction, convert it into strings of openfermion
fqe.openfermion_utils.fqe_to_fermion_operator(
wfn: "Wavefunction"
) -> "FermionOperator"
operators with appropriate coefficients for weights.
Args | |
---|---|
wfn (fqe.wavefunction) |
Returns | |
---|---|
ops (FermionOperator) |