Skip to content

Commit

Permalink
Bugfix for RB tutorials.
Browse files Browse the repository at this point in the history
Reverts an added check that (unintentionally) prevented
generating RB designs on subsets of pspecs.
  • Loading branch information
sserita committed Jun 3, 2024
1 parent 90cadf4 commit 723cd24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pygsti/protocols/rb.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def __init__(self, pspec, clifford_compilations, depths, circuits_per_depth, qub
interleaved_circuit=None, citerations=20, compilerargs=(), exact_compilation_key=None,
descriptor='A Clifford RB experiment', add_default_protocol=False, seed=None, verbosity=1, num_processes=1):
if qubit_labels is None: qubit_labels = tuple(pspec.qubit_labels)
assert len(qubit_labels) == len(pspec.qubit_labels), "Must provide qubit labels that match number of qubits in pspec"
circuit_lists = []
ideal_outs = []
native_gate_counts = []
Expand Down

0 comments on commit 723cd24

Please sign in to comment.