German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGCircuit.remove_qubits

DAGCircuit.remove_qubits(*qubits)[Quellcode]

Remove quantum bits from the circuit. All bits MUST be idle. Any registers with references to at least one of the specified bits will also be removed.

Parameter

qubits (List[Qubit]) – The bits to remove.

Verursacht

DAGCircuitError – a qubit is not a Qubit, is not in the circuit, or is not idle.