utility.debug#
Contains debug utility functions
Functions#
|
execute two tapes and check if they yield the same probabilities |
|
Compute the expectation value using the parity of each outcome |
|
converts counts into probabilities |
|
gets bitstrings from 0 to "up_to" value |
|
returns the wires that are used for measurement |
|
get a bitstring out of a number. |
|
turns probabilities into counts |
|
turns a quantum tape into a qasm string |