spheres.spin_circuits.qiskit.postselect_results_qiskit¶
-
spheres.spin_circuits.qiskit.
postselect_results_qiskit
(circ_info, raw_results)[source]¶ Performs postselection on Qiskit results given information in the provided dictionary.
Removes classical registers corresponding to circ_info[“postselect_on”], leaving only those results with satisfy circ_info[“postselection”].
- Parameters
circ_info (dict) –
raw_results (qiskit.Result) –
- Returns
postselected_results
- Return type
qiskit.Result