Shortcuts

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

__init__()

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.

inverse()

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.

表示 lang: Japanese
言語
English
Japanese
German
Korean