TimeEvolutionResult
qiskit.algorithms.TimeEvolutionResult(evolved_state, aux_ops_evaluated=None, observables=None, times=None)
Bases: AlgorithmResult
Class for holding time evolution result.
evolved_state
An evolved quantum state.
Type
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