Skip to content

IonQ

IonqBackendPreferences

Bases: BackendPreferences

Represents the backend preferences specific to IonQ services.

Inherits from BackendPreferences and adds additional fields and configurations specific to IonQ backends

Attributes:

Name Type Description
backend_service_provider IONQ

Indicates the backend service provider as IonQ.

api_key PydanticIonQApiKeyType

The IonQ API key required for accessing IonQ's quantum computing services.

error_mitigation bool

A configuration option to enable or disable error mitigation during execution. Defaults to False.

run_through_classiq bool

Running through Classiq's credentials while using user's allocated budget.

See examples in the IonQ Backend Documentation.

Attributes:

Name Type Description
api_key Optional[PydanticIonQApiKeyType]
backend_service_provider IONQ
error_mitigation bool
run_through_classiq bool

api_key

api_key: Optional[PydanticIonQApiKeyType] = Field(
    default=None, description="IonQ API key"
)

backend_service_provider

backend_service_provider: IONQ = Field(default=IONQ)

error_mitigation

error_mitigation: bool = Field(
    default=False,
    description="Error mitigation configuration.",
)

run_through_classiq

run_through_classiq: bool = Field(
    default=False,
    description="Running through Classiq's credentials while using user's allocated budget.",
)

IonqBackendNames

Bases: StrEnum

IonQ backend names which Classiq Supports running on.

Attributes:

Name Type Description
ARIA_1
ARIA_2
FORTE_1
HARMONY
SIMULATOR

ARIA_1

ARIA_1 = 'qpu.aria-1'

ARIA_2

ARIA_2 = 'qpu.aria-2'

FORTE_1

FORTE_1 = 'qpu.forte-1'

HARMONY

HARMONY = 'qpu.harmony'

SIMULATOR

SIMULATOR = 'simulator'