View source on GitHub |
APply the algebraic operators to the wavefunction with a specfiic
fqe.apply_generated_unitary(
wfn: "wavefunction.Wavefunction",
time: float,
algo: str,
hamil: Union['hamiltonian.Hamiltonian', 'FermionOperator'],
accuracy: float = 0.0,
expansion: int = 30,
spec_lim: Optional[List[float]] = None
) -> "wavefunction.Wavefunction"
algorithm and to the requested accuracy.
Args | |
---|---|
ops (FermionOperator) - a hermetian operator to apply to the wavefunction
wfn (fqe.wavefunction) - the wavefunction to evolve algo (string) - a string dictating the method to use accuracy (double) - a desired accuracy to evolve the system to |
Returns | |
---|---|
wfn (fqe.wavefunction) - the evolved wavefunction |