SciPyRealEvolver#

class qiskit.algorithms.SciPyRealEvolver(num_timesteps)[código fonte]#

Bases: RealTimeEvolver

Classical Evolver for real time evolution.

Evolves an initial state \(|\Psi\rangle\) for a time \(t\) 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.

Levanta:

ValueError – If steps is not a positive integer.

Methods

evolve(evolution_problem)[código fonte]#

Perform real time evolution \(\exp(-i t H)|\Psi\rangle\).

Evolves an initial state \(|\Psi\rangle\) for a time \(t\) under a Hamiltonian \(H\), as provided in the evolution_problem.

Parâmetros:

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

Retorno:

Evolution result which includes an evolved quantum state.

Tipo de retorno:

TimeEvolutionResult