Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

TimeEvolutionResult

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

GitHub(opens in a new tab)

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(opens in a new tab)[complex(opens in a new tab), complex(opens in a new tab)]] | 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(opens in a new tab)[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(opens in a new tab)[complex(opens in a new tab), complex(opens in a new tab)]] | 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(opens in a new tab)[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(opens in a new tab) – Argument is None

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