GroverResult¶
- class GroverResult[ソース]¶
ベースクラス:
AmplitudeAmplifierResult
Grover Result.
Methods
Any property from the argument that exists in the receiver is updated.
Attributes
- assignment¶
The post-processed value of the most likely bitstring.
- 戻り値の型
Any
- 戻り値
The output of the
post_processing
function of the respectiveAmplificationProblem
, where the input is thetop_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.
- 戻り値の型
Union
[List
[ndarray
],List
[Dict
[str
,int
]],None
]
- iterations¶
All the powers of the Grover operator that have been tried.
- 戻り値の型
List
[int
]- 戻り値
The powers of the Grover operator tested.
- max_probability¶
Return the maximum sampling probability.
- 戻り値の型
float
- oracle_evaluation¶
Whether the classical oracle evaluation of the top measurement was True or False.
- 戻り値の型
bool
- 戻り値
The classical oracle evaluation of the top measurement.
- top_measurement¶
The most frequently measured output as bitstring.
- 戻り値の型
Optional
[str
]- 戻り値
The most frequently measured output state.