Quick Start
Install the Python package with the simulator and visualization extras:
pip install "bloqade-lanes[sim,visualization]"The Gemini logical dialect lets you write a kernel in Python and compile it to a physical circuit for simulation:
from bloqade import squinfrom bloqade.gemini import GeminiLogicalSimulator, logical
@logical.kernel(aggressive_unroll=True, verify=True)def prepare_one_qubit(): qubits = squin.qalloc(1) squin.u3(0.1, 0.2, 0.3, qubits[0]) return logical.terminal_measure(qubits)
task = GeminiLogicalSimulator().task(prepare_one_qubit)task.noiseless_tsim_circuit.diagram(width=500)The Gemini Logical Dialect Demo expands this into transversal gates, Bell and GHZ states, decoding, and analysis. For atom movement and instruction details, continue with the architecture specification and instruction set.