QXel.provider.braket.qxel_stabilizer module

Braket stabilizer device adapter built on top of QXel.

class QXel.provider.braket.qxel_stabilizer.QXelStabilizer

Bases: object

Braket-compatible wrapper around StabilizerSimulator.

DEVICE_ID = 'QXel-st'
__init__()

Initialize static device metadata and the backing simulator.

property properties

Return the Braket device capability document for this simulator.

initialize_simulation(*, qubit_count, shots, quantum_circuit)

Braket hook for pre-allocation.

The current backend allocates lazily inside run(), so this hook intentionally returns None.

static parse_program(program)

Parse an OpenQASM payload into the internal circuit representation.

run(ir, *, shots=0, **kwargs)

Execute a Braket IR program with the stabilizer simulator.

Parameters:
  • ir – Braket IR payload accepted by the OpenQASM interpreter.

  • shots (int, optional) – Number of samples to draw.

  • **kwargs – Additional simulator options forwarded to StabilizerSimulator.run().

Returns:

Braket-compatible simulation result.

Return type:

GateModelTaskResult