View source on GitHub |
Time-evolve a wavefunction with the specified Hamiltonian.
fqe.time_evolve(
wfn: "wavefunction.Wavefunction",
time: float,
hamil: Union['hamiltonian.Hamiltonian', 'FermionOperator'],
inplace: bool = False
) -> "wavefunction.Wavefunction"
Args | |
---|---|
wfn (Wavefunction) - Wave function to be time-evolved
time (float) - time for propagation hamil (Hamiltonian / FermionOperator) - Hamiltonian to be used for time evolution |
Returns | |
---|---|
(wavefunction.Wavefunction) - a wavefunction object after time evolution |