qiskit.dagcircuit.DAGCircuit.copy_empty_like¶ DAGCircuit.copy_empty_like()[source]¶ Return a copy of self with the same structure but empty. That structure includes: name and other metadata global phase duration all the qubits and clbits, including the registers. Returns An empty copy of self. Return type DAGCircuit