qat.runtime.results_processing module
- binary(results_list)
Extracted from purr.compiler.execution.
Changes all measurements to binary format.
- binary_average(results_list)
Extracted from purr.compiler.execution.
Averages all repeat results and returns a definitive 1/0 for each qubit measurement.
- binary_count(results_list, repeats)
Extracted from qat.purr.compiler.runtime.
- Returns a dictionary of binary number: count. So for a two qubit register it’ll return
the various counts for
00
,01
,10
and11
.
- complex_to_binary(number)
Extracted from purr.compiler.execution.
Base calculation for changing a complex measurement to binary form.
- numpy_array_to_list(array)
Extracted from purr.compiler.execution.
Transform numpy arrays to a normal list.