Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

TimeEvolutionResult

class qiskit.algorithms.TimeEvolutionResult(evolved_state, aux_ops_evaluated=None, observables=None, times=None)

GitHub

Bases: AlgorithmResult

Class for holding time evolution result.

evolved_state

An evolved quantum state.

Type

QuantumCircuit|Statevector

aux_ops_evaluated

Optional list of observables for which expected values on an evolved state are calculated. These values are in fact tuples formatted as (mean, standard deviation).

Type

ListOrDict[tuple[complex, complex]] | None

observables

Optional list of observables for which expected on an evolved state are calculated at each timestep. These values are in fact lists of tuples formatted as (mean, standard deviation).

Type

ListOrDict[tuple[np.ndarray, np.ndarray]] | None

times

Optional list of times at which each observable has been evaluated.

Type

np.array | None

Parameters

  • evolved_state (QuantumCircuit |Statevector) – An evolved quantum state.
  • aux_ops_evaluated (ListOrDict[tuple[complex, complex]] | None) – Optional list of observables for which expected values on an evolved state are calculated. These values are in fact tuples formatted as (mean, standard deviation).
  • observables (ListOrDict[tuple[np.ndarray, np.ndarray]] | None) – Optional list of observables for which expected values are calculated for each timestep. These values are in fact tuples formatted as (mean array, standard deviation array).
  • times (np.ndarray | None) – Optional list of times at which each observable has been evaluated.

Methods

combine

combine(result)

Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.

Raises

TypeError – Argument is None

Was this page helpful?
Report a bug or request content on GitHub.