# InstructionSet¶

class InstructionSet[ソース]

ベースクラス: object

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.

Methods

 add Add an instruction and its context (where it is attached). c_if Add condition on classical register to all instructions. inverse Invert all instructions.