German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGCircuit.remove_clbits

DAGCircuit.remove_clbits(*clbits)[Quellcode]

Remove classical 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

clbits (List[Clbit]) – The bits to remove.

Verursacht

DAGCircuitError – a clbit is not a Clbit, is not in the circuit, or is not idle.