QubitType Enum
Qubit type.
Each logical qubit can be either a compute or memory qubit. Compute qubits can be used normally.
Memory qubits have a restriction that gates cannot be applied to them. The only allowed operations on memory qubits are reads/writes, where state is moved from memory to compute gate or from compute to memory gate.
We assume that when error correction is applied, memory qubits are encoded with a more efficient error correction scheme requiring less resources, but not allowing gate application (e.g. Yoked surface codes, https://arxiv.org/abs/2312.04522).
Fields
| COMPUTE |
| MEMORY |