SciPyImaginaryEvolver#
- class qiskit.algorithms.SciPyImaginaryEvolver(num_timesteps)[fuente]#
Bases:
ImaginaryTimeEvolver
Classical Evolver for imaginary time evolution.
Evolves an initial state \(|\Psi\rangle\) for an imaginary time \(\tau = it\) under a Hamiltonian \(H\), as provided in the
evolution_problem
. Note that the precision of the evolver does not depend on the number of timesteps taken.- Parámetros:
num_timesteps (int) – The number of timesteps in the simulation.
- Muestra:
ValueError – If num_timesteps is not a positive integer.
Methods
- evolve(evolution_problem)[fuente]#
Perform imaginary time evolution \(\exp(-\tau H)|\Psi\rangle\).
Evolves an initial state \(|\Psi\rangle\) for an imaginary time \(\tau\) under a Hamiltonian \(H\), as provided in the
evolution_problem
.- Parámetros:
evolution_problem (TimeEvolutionProblem) – The definition of the evolution problem.
- Devuelve:
Evolution result which includes an evolved quantum state.
- Tipo del valor devuelto: