French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGCircuit.remove_cregs

DAGCircuit.remove_cregs(*cregs)[source]

Remove classical registers from the circuit, leaving underlying bits in place.

Lève
  • DAGCircuitError – a creg is not a ClassicalRegister, or is not in

  • the circuit.