TimeEvolutionResult
class TimeEvolutionResult(evolved_state, aux_ops_evaluated=None, observables=None, times=None)
Bases: qiskit.algorithms.algorithm_result.AlgorithmResult
Class for holding time evolution result.
evolved_state
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 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
TimeEvolutionResult.combine(result)
Any property from the argument that exists in the receiver is updated. :type result: AlgorithmResult
:param result: Argument result with properties to be set.
Raises
TypeError – Argument is None
Return type
None