Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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.

রিটার্নস

An empty copy of self.

রিটার্ন টাইপ

DAGCircuit