Skip to main content
IBM Quantum Platform
このページは Qiskit SDK の旧バージョンからのものであり、最新バージョンには存在しません。 最新バージョンへの移行をお勧めします。 詳細については、リリースノートをご覧ください。

GroverResult

class qiskit.algorithms.GroverResult

GitHub

Bases: AmplitudeAmplifierResult

Grover Result.


Attributes

assignment

The post-processed value of the most likely bitstring.

Returns

The output of the post_processing function of the respective AmplificationProblem, where the input is the top_measurement. The type is the same as the return type of the post-processing function.

circuit_results

Return the circuit results. Can be a statevector or counts dictionary.

iterations

All the powers of the Grover operator that have been tried.

Returns

The powers of the Grover operator tested.

max_probability

Return the maximum sampling probability.

oracle_evaluation

Whether the classical oracle evaluation of the top measurement was True or False.

Returns

The classical oracle evaluation of the top measurement.

top_measurement

The most frequently measured output as bitstring.

Returns

The most frequently measured output state.


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

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。