TwoLocal.append¶
- TwoLocal.append(instruction, qargs=None, cargs=None)¶
Append one or more instructions to the end of the circuit, modifying the circuit in place. Expands qargs and cargs.
- Parameters
instruction (qiskit.circuit.Instruction) – Instruction instance to append
qargs (list(argument)) – qubits to attach instruction to
cargs (list(argument)) – clbits to attach instruction to
- Returns
a handle to the instruction that was just added
- Return type