QuantumCircuit.copy

QuantumCircuit.copy(name=None)[ソース]

Copy the circuit.

パラメータ

name (str) – name to be given to the copied circuit. If None, then the name stays the same

戻り値

a deepcopy of the current circuit, with the specified name

戻り値の型

QuantumCircuit