Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.Gate.copy

Gate.copy(name=None)

Copy of the instruction.

Parâmetros

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

Retorno

a copy of the current instruction, with the name updated if it was provided

Tipo de retorno

qiskit.circuit.Instruction