iqm.error_reduction_tools.utils.hadamard.HadamardGenerator#
- class iqm.error_reduction_tools.utils.hadamard.HadamardGenerator(num_qubits)#
Bases:
objectHadamard calibration generator.
Methods
__iter__()Return an iterator over the bit arrays (the class itself is also the iterator).
__next__()Next bit array in the iteration.
_generate_array(index)Return the bit array corresponding to
index.- Parameters:
num_qubits (int)