Skip to main content

AliceBobBackendPreferences

Backend preferences specific to Alice&Bob for quantum computing tasks. This class includes configuration options for setting up a backend using Alice&Bob’s quantum hardware. It extends the base BackendPreferences class and provides additional parameters required for working with Alice&Bob’s cat qubits, including settings for photon dissipation rates, repetition code distance, and the average number of photons. Attributes:
NameTypeDescription
backend_service_providerProviderTypeVendor.ALICE_BOBThe service provider for the backend, which is Alice&Bob.
distanceOptional[int]The number of times information is duplicated in the repetition code. - Tooltip: Phase-flip probability decreases exponentially with this parameter, bit-flip probability increases linearly. - Supported Values: 3 to 300, though practical values are usually lower than 30. - Default: None.
kappa_1Optional[float]The rate at which the cat qubit loses one photon, creating a bit-flip. - Tooltip: Lower values mean lower error rates. - Supported Values: 10 to 10^5. Current hardware is at ~10^3. - Default: None.
kappa_2Optional[float]The rate at which the cat qubit is stabilized using two-photon dissipation. - Tooltip: Higher values mean lower error rates. - Supported Values: 100 to 10^9. Current hardware is at ~10^5. - Default: None.
average_nb_photonsOptional[float]The average number of photons. - Tooltip: Bit-flip probability decreases exponentially with this parameter, phase-flip probability increases linearly. - Supported Values: 4 to 10^5, though practical values are usually lower than 30. - Default: None.
api_keystrThe API key required to access Alice&Bob’s quantum hardware. - Required: Yes.

backend_service_provider

backend_service_provider: ProviderTypeVendor.ALICE_BOB = pydantic.Field(default=(ProviderVendor.ALICE_AND_BOB))

distance

distance: int | None = pydantic.Field(default=None, description='Repetition code distance')

kappa_1

kappa_1: float | None = pydantic.Field(default=None, description='One-photon dissipation rate (Hz)')

kappa_2

kappa_2: float | None = pydantic.Field(default=None, description='Two-photon dissipation rate (Hz)')

average_nb_photons

average_nb_photons: float | None = pydantic.Field(default=None, description='Average number of photons')

api_key

api_key: pydantic_backend.PydanticAliceBobApiKeyType | None = pydantic.Field(default=None, description='AliceBob API key')

parameters

parameters: dict[str, Any]

AliceBobBackendNames

Alice & Bob backend names which Classiq Supports running on. Attributes:

PERFECT_QUBITS

PERFECT_QUBITS = 'PERFECT_QUBITS'

LOGICAL_TARGET

LOGICAL_TARGET = 'LOGICAL_TARGET'

LOGICAL_EARLY

LOGICAL_EARLY = 'LOGICAL_EARLY'

TRANSMONS

TRANSMONS = 'TRANSMONS'