QXel.simulator.stabilizer_simulator module¶
- class QXel.simulator.stabilizer_simulator.StabilizerSimulator¶
Bases:
BaseSimulatorHigh-level entry point for stabilizer simulation.
- __init__()¶
Create a simulator with the stabilizer transpiler pipeline.
- run(qubit_count, operations, *, shots=0, compute_type='cuda', data_type='complex128')¶
Transpile and execute a circuit with the stabilizer backend.
- Parameters:
qubit_count (int) – Total logical qubit count.
operations (list[Operator]) – Circuit operations in logical qubit order.
shots (int, optional) – Number of measurement samples to draw.
compute_type (str, optional) – Execution backend. Supported values include
"cpu","cuda","cuquantum", and"quant".data_type (str, optional) – Scalar storage type. Currently only
"complex128"is accepted.
- Returns:
Backend-specific simulation result.
- Return type:
Any