Get started
Simulator types
Choose a simulator with the simulator_type argument when you create the client.
python
import os
from QXelSaas import QXel
# simulator_type: "sv" (state vector), "dm" (density matrix), "st" (stabilizer)
sim = QXel(
api_key=os.environ["QXEL_SAAS_API_KEY"],
simulator_type="sv", # state vector (default)
)Note The hosted platform runs all three QXel simulators: state vector (sv), density matrix (dm), and stabilizer (st). State vector supports both sampled runs (shots>0) and analytic result types (shots=0). Density matrix and stabilizer are analytic, so use shots=0.