keys#

class pennylane_calculquebec.utility.api.keys#

Bases: object

JSON key constants used when serialising/deserialising API payloads.

These string constants mirror the exact field names expected by the Thunderhead API, centralising them to avoid hard-coded strings scattered across the codebase.

BITS = 'bits'#
BIT_COUNT = 'bitCount'#
CIRCUIT = 'circuit'#
COUPLERS = 'couplers'#
COUPLER_TO_QUBIT_MAP = 'couplerToQubitMap'#
CZ_GATE_FIDELITY = 'czGateFidelity'#
ID = 'id'#
ITEMS = 'items'#
MACHINE_NAME = 'machineName'#
NAME = 'name'#
ONLINE = 'online'#
OPERATIONS = 'operations'#
PARAMETERS = 'parameters'#
PROJECT_ID = 'projectID'#
QUBITS = 'qubits'#
QUBIT_COUNT = 'qubitCount'#
READOUT_STATE_0_FIDELITY = 'readoutState0Fidelity'#
READOUT_STATE_1_FIDELITY = 'readoutState1Fidelity'#
RESULTS_PER_DEVICE = 'resultsPerDevice'#
SHOT_COUNT = 'shotCount'#
SINGLE_QUBIT_GATE_FIDELITY = 'singleQubitGateFidelity'#
STATUS = 'status'#
T1 = 't1'#
T2_RAMSEY = 't2Ramsey'#
TYPE = 'type'#