PVQDResult
qiskit.algorithms.PVQDResult(evolved_state, aux_ops_evaluated=None, times=None, parameters=None, fidelities=None, estimated_error=None, observables=None)
Bases: TimeEvolutionResult
The result object for the p-VQD algorithm.
Parameters
- evolved_state (QuantumCircuit) – An evolved quantum state.
- aux_ops_evaluated (list (opens in a new tab)[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).
- times (list (opens in a new tab)[float (opens in a new tab)] | None) – The times evaluated during the time integration.
- parameters (list (opens in a new tab)[np.ndarray] | None) – The parameter values at each evaluation time.
- fidelities (Sequence[float (opens in a new tab)] | None) – The fidelity of the Trotter step and variational update at each iteration.
- estimated_error (float (opens in a new tab) | None) – The overall estimated error evaluated as one minus the product of all fidelities.
- observables (list (opens in a new tab)[list (opens in a new tab)[float (opens in a new tab)]] | None) – The value of the observables evaluated at each iteration.
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?