qrisp.QuantumCircuit.clearcopy#
- QuantumCircuit.clearcopy() QuantumCircuit[source]#
Returns a copy of the given QuantumCircuit but without any data (i.e. just the Qubits and Clbits).
- Returns:
- QuantumCircuit
The empty, copied QuantumCircuit.
Returns a copy of the given QuantumCircuit but without any data (i.e. just the Qubits and Clbits).
The empty, copied QuantumCircuit.