tqec.circuit.qubit.get_used_qubit_indices# get_used_qubit_indices(circuit: Circuit) → set[int][source]# Returns the indices of qubits that are used by at least one non- annotation instruction. Parameters: circuit – circuit containing the gates. Returns: the set of qubit indices that are used by at least one non-annotation instruction.