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

47 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: RealEvolver
description: API reference for qiskit.algorithms.RealEvolver
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.algorithms.RealEvolver
---
# RealEvolver
<Class id="qiskit.algorithms.RealEvolver" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/algorithms/evolvers/real_evolver.py" signature="RealEvolver" modifiers="class">
Bases: `ABC`
Deprecated: Interface for Quantum Real Time Evolution.
The RealEvolver interface has been superseded by the `qiskit.algorithms.time_evolvers.RealTimeEvolver` interface. This interface will be deprecated in a future release and subsequently removed after that.
<Admonition title="Deprecated since version 0.24.0" type="danger">
The class `qiskit.algorithms.evolvers.real_evolver.RealEvolver` is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. Instead, use the interface `qiskit.algorithms.time_evolvers.RealTimeEvolver`. See [https://qisk.it/algo\_migration](https://qisk.it/algo_migration) for a migration guide.
</Admonition>
## Methods
<span id="qiskit-algorithms-realevolver-evolve" />
### evolve
<Function id="qiskit.algorithms.RealEvolver.evolve" signature="RealEvolver.evolve(evolution_problem)" modifiers="abstract">
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** ([*EvolutionProblem*](qiskit.algorithms.EvolutionProblem "qiskit.algorithms.evolvers.evolution_problem.EvolutionProblem")) The definition of the evolution problem.
**Returns**
Evolution result which includes an evolved quantum state.
**Return type**
[*EvolutionResult*](qiskit.algorithms.EvolutionResult "qiskit.algorithms.evolvers.evolution_result.EvolutionResult")
</Function>
</Class>