View source on GitHub |
Create a new wavefunction by applying the fermionic operators to the
fqe.apply(
ops: Union['hamiltonian.Hamiltonian', 'FermionOperator'],
wfn: "wavefunction.Wavefunction"
) -> "wavefunction.Wavefunction"
wavefunction.
Args | |
---|---|
ops (FermionOperator) - a Fermion Operator string to apply to the wavefunction
wfn (wavefunction.Wavefunction) - an FQE wavefunction to mutate |
Returns | |
---|---|
openfermion-fqe.Wavefunction - a new wavefunction generated from the application of the fermion operators to the wavefunction |