TimeEvolutionResult#
- class TimeEvolutionResult(evolved_state, aux_ops_evaluated=None, observables=None, times=None)[source]#
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).
- 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, dict[str, 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 (list[ListOrDict[tuple[complex, dict[str, complex]]]] | 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