Get started

Simulator types

QXel ships three Braket simulator backends. Choose one by passing its name to LocalSimulator(backend=...).

• QXel-sv: state vector simulator. The default choice for most circuits. • QXel-dm: density matrix simulator, for noisy or mixed-state circuits. • QXel-st: stabilizer simulator, for Clifford circuits at large qubit counts.
python
from braket.devices import LocalSimulator

sv = LocalSimulator(backend="QXel-sv")   # state vector
dm = LocalSimulator(backend="QXel-dm")   # density matrix
st = LocalSimulator(backend="QXel-st")   # stabilizer
Note Examples in these guides use QXel-sv. Swap the backend name to switch simulators. The rest of your code stays the same.