qiskit.aqua.algorithms.Grover.post_processing¶
-
Grover.
post_processing
(measurement)[source]¶ Do the post-processing to the measurement result
- Parameters
measurement (
List
[int
]) – The measurement as list of int.- Return type
List
[int
]- Returns
Do the post-processing based on the post_processing argument. If the post_processing argument is None and the Oracle class is used as its oracle, oracle.evaluate_classically is used as the post_processing. Otherwise, just return the input bitstr