iqm.iqm_client.instruction

iqm.iqm_client.instruction#

This module contains the definition of the Instruction class and defines the supported instructions.

For more information on the topic, refer to the more comprehensive documentation in iqm_client.py.

Functions

get_current_instruction_name(name)

Checks if the instruction name has been deprecated and returns the new name if it is; otherwise, just returns the name as-is.

is_directed_instruction(name)

Checks if the instruction with the given name is directed, i.e. if the instruction is allowed only in the direction defined by the operation loci in the quantum architecture.

is_multi_qubit_instruction(name)

Checks if the instruction with the given name is a multi-qubit instruction.

Classes

Instruction(*, name[, implementation])

An instruction in a quantum circuit.

Inheritance

Inheritance diagram of iqm.iqm_client.instruction