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

qiskit.circuit.QuantumCircuit.copy_empty_like

QuantumCircuit.copy_empty_like(name=None)[소스]

Return a copy of self with the same structure but empty.

That structure includes:
  • name, calibrations and other metadata

  • global phase

  • all the qubits and clbits, including the registers

매개변수

name (str) – Name for the copied circuit. If None, then the name stays the same.

반환

An empty copy of self.

반환 형식

QuantumCircuit