QXel.provider.braket.qxel_state_vector module¶
Braket state-vector device adapter built on top of QXel.
- class QXel.provider.braket.qxel_state_vector.QXelStateVector¶
Bases:
objectBraket-compatible wrapper around
StateVectorSimulator.- DEVICE_ID = 'QXel-sv'¶
- __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 returnsNone.
- static parse_program(program)¶
Parse an OpenQASM payload into the internal circuit representation.
- Parameters:
program (OpenQASMProgram) – Braket OpenQASM program to parse.
- Returns:
Parsed program context containing the circuit and classical state.
- Return type:
- run(ir, *, shots=0, **kwargs)¶
Execute a Braket IR program with the state-vector simulator.
- Parameters:
ir – Braket IR payload accepted by the OpenQASM interpreter.
shots (int, optional) – Number of samples to draw.
0requests analytic result types only.**kwargs – Additional simulator options forwarded to
StateVectorSimulator.run().
- Returns:
Braket-compatible simulation result.
- Return type:
GateModelTaskResult