Skip to main contentIBM Quantum Documentation

SciPyImaginaryEvolver

qiskit.algorithms.SciPyImaginaryEvolver(num_timesteps)

Bases: ImaginaryTimeEvolver

Classical Evolver for imaginary time evolution.

Evolves an initial state Ψ|\Psi\rangle for an imaginary time τ=it\tau = it under a Hamiltonian HH, as provided in the evolution_problem. Note that the precision of the evolver does not depend on the number of timesteps taken.

Parameters

num_timesteps (int (opens in a new tab)) – The number of timesteps in the simulation.

Raises

ValueError (opens in a new tab) – If num_timesteps is not a positive integer.


Methods

evolve

evolve(evolution_problem)

Perform imaginary time evolution exp(τH)Ψ\exp(-\tau H)|\Psi\rangle.

Evolves an initial state Ψ|\Psi\rangle for an imaginary time τ\tau under a Hamiltonian HH, as provided in the evolution_problem.

Parameters

evolution_problem (TimeEvolutionProblem) – The definition of the evolution problem.

Returns

Evolution result which includes an evolved quantum state.

Return type

TimeEvolutionResult

Was this page helpful?