# qiskit.circuit.InstructionSet¶

class InstructionSet[소스]

Instruction collection, and their contexts.

New collection of instructions.

The context (qargs and cargs that each instruction is attached to) is also stored separately for each instruction.

__init__()[소스]

New collection of instructions.

The context (qargs and cargs that each instruction is attached to) is also stored separately for each instruction.

Methods

 New collection of instructions. add(gate, qargs, cargs) Add an instruction and its context (where it is attached). c_if(classical, val) Add condition on classical register to all instructions. Invert all instructions.
add(gate, qargs, cargs)[소스]

Add an instruction and its context (where it is attached).

c_if(classical, val)[소스]

Add condition on classical register to all instructions.

inverse()[소스]

Invert all instructions.