IntegerComparator.append

IntegerComparator.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

qiskit.circuit.Instruction

Raises
  • CircuitError – if object passed is a subclass of Instruction

  • CircuitError – if object passed is neither subclass nor an instance of Instruction