Skip to main content
Figure 2 | EPJ Quantum Technology

Figure 2

From: Optimising the quantum/classical interface for efficiency and portability with a multi-level hardware abstraction layer for quantum computers

Figure 2

Bit allocation in the 64-bits long command strings. A fixed OPCODE field of 12 bits is used to identify the command to execute. Control commands (top string) use 16 bits for the command argument, whereas this field extends to 32 bits for single qubit (middle string) and dual qubit (bottom string) commands. The RELATIVE_QUBIT_IDX field is used to represent the relative index of qubit 0 and 1 (10 bits each) in single qubit and dual qubit commands, whereas it corresponds to the base qubit index in the control commands “Set Page Qubit 0” and “Set Page Qubit 1”. In OPCODEs corresponding to single or dual qubit commands, the leftmost bit always flags whether the instruction is a one-qubit or two-qubit gate

Back to article page