Skip to main content
IBM Quantum Platform
Questa pagina proviene da una versione precedente di Qiskit SDK e non è presente nella versione più recente. Ti consigliamo di effettuare la migrazione alla versione più recente. Per ulteriori informazioni, consultare le note di rilascio.

SamplingMinimumEigensolverResult

class qiskit.algorithms.minimum_eigensolvers.SamplingMinimumEigensolverResult

GitHub

Bases: AlgorithmResult

Sampling Minimum Eigensolver Result.

In contrast to the result of a MinimumEigenSolver, this result also contains the best measurement of the overall optimization and the samples of the final state.


Attributes

aux_operators_evaluated

Return aux operator expectation values and metadata.

These are formatted as (mean, metadata).

best_measurement

Return the best measurement over the entire optimization.

Possesses keys: state, bitstring, value, probability.

eigenstate

Return the quasi-distribution sampled from the final state.

The ansatz is sampled when parameterized with the optimal parameters that where obtained computing the minimum eigenvalue. The keys represent a measured classical value and the value is a float for the quasi-probability of that result.

eigenvalue

Return the approximation to the eigenvalue.


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 – Argument is None

Questa pagina è stata utile?
Segnala un bug, un errore di battitura o richiedi contenuti su GitHub.