Skip to main content
For emulate on IBM Quantum, see IBM hardware noise simulation (emulate) in the execution user guide.

IBMBackendPreferences

Represents the backend preferences specific to IBM Quantum services. Inherits from BackendPreferences and adds additional fields and validations specific to IBM Quantum backends. Attributes:
NameTypeDescription
backend_service_providerProviderTypeVendor.IBM_CLOUDIndicates the backend service provider as IBM Cloud.
access_tokenOptional[str]The IBM Cloud access token to be used with IBM Quantum hosted backends. Defaults to None.
channelstrChannel to use for IBM cloud backends. Defaults to "ibm_cloud".
instance_crnstrThe IBM Cloud instance CRN (Cloud Resource Name) for the IBM Quantum service.
run_via_classiqboolRun via Classiq’s credentials. Defaults to False.
emulateboolIf True, run on Classiq AerSimulator with a noise model derived from the IBM backend name. Defaults to False.

backend_service_provider

backend_service_provider: ProviderTypeVendor.IBM_CLOUD = pydantic.Field(default=(ProviderVendor.IBM_QUANTUM))

access_token

access_token: str | None = pydantic.Field(default=None, description='IBM Cloud access token to be used with IBM Quantum hosted backends')

channel

channel: str | None = pydantic.Field(default=None, description='Channel to use for IBM cloud backends.')

instance_crn

instance_crn: str | None = pydantic.Field(default=None, description='IBM Cloud instance CRN.')

emulate

emulate: bool = pydantic.Field(default=False, description='If True, run on Classiq AerSimulator with IBM noise model derived from backend_name.')