tqec.circuit.qubit.GridQubit# class GridQubit(x: int, y: int)[source]# Represent a qubit placed on a 2-dimensional grid. __init__(x: int, y: int) → None[source]# Methods __init__(x, y) to_qubit_coords_instruction(index) Return the QUBIT_COORDS stim.CircuitInstruction needed to define self in a stim.Circuit. Attributes x y