SciPyImaginaryEvolver#
- class SciPyImaginaryEvolver(num_timesteps)[source]#
Bases:
ImaginaryTimeEvolver
Classical Evolver for imaginary time evolution.
Evolves an initial state
for an imaginary time under a Hamiltonian , as provided in theevolution_problem
. Note that the precision of the evolver does not depend on the number of timesteps taken.- Parameters:
num_timesteps (int) – The number of timesteps in the simulation.
- Raises:
ValueError – If num_timesteps is not a positive integer.
Methods
- evolve(evolution_problem)[source]#
Perform imaginary time evolution
.Evolves an initial state
for an imaginary time under a Hamiltonian , as provided in theevolution_problem
.- Parameters:
evolution_problem (TimeEvolutionProblem) – The definition of the evolution problem.
- Returns:
Evolution result which includes an evolved quantum state.
- Return type: