qiskit-documentation/docs/api/qiskit/0.43/qiskit.algorithms.SciPyReal...

51 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: SciPyRealEvolver
description: API reference for qiskit.algorithms.SciPyRealEvolver
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.algorithms.SciPyRealEvolver
---
# SciPyRealEvolver
<Class id="qiskit.algorithms.SciPyRealEvolver" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/algorithms/time_evolvers/classical_methods/scipy_real_evolver.py" signature="SciPyRealEvolver(num_timesteps)" modifiers="class">
Bases: [`RealTimeEvolver`](qiskit.algorithms.RealTimeEvolver "qiskit.algorithms.time_evolvers.real_time_evolver.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.
**Parameters**
**num\_timesteps** (*int*) The number of timesteps in the simulation.
**Raises**
**ValueError** If steps is not a positive integer.
## Methods
<span id="qiskit-algorithms-scipyrealevolver-evolve" />
### evolve
<Function id="qiskit.algorithms.SciPyRealEvolver.evolve" signature="SciPyRealEvolver.evolve(evolution_problem)">
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`.
**Parameters**
**evolution\_problem** ([*TimeEvolutionProblem*](qiskit.algorithms.TimeEvolutionProblem "qiskit.algorithms.time_evolvers.time_evolution_problem.TimeEvolutionProblem")) The definition of the evolution problem.
**Returns**
Evolution result which includes an evolved quantum state.
**Return type**
[*TimeEvolutionResult*](qiskit.algorithms.TimeEvolutionResult "qiskit.algorithms.time_evolvers.time_evolution_result.TimeEvolutionResult")
</Function>
</Class>