Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGCircuit.remove_qubits

DAGCircuit.remove_qubits(*qubits)[소스]

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.

매개변수

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

예외 발생

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