IBM
IBMBackendPreferences
Bases: BackendPreferences
Represents the backend preferences specific to IBM Quantum services.
Inherits from BackendPreferences
and adds additional fields and validations
specific to IBM Quantum backends.
Attributes:
Name | Type | Description |
---|---|---|
backend_service_provider |
IBM_CLOUD
|
Indicates the backend service provider as IBM Cloud. |
access_token |
Optional[str]
|
The IBM Cloud access token to be used with IBM Quantum hosted backends. Defaults to |
channel |
str
|
Channel to use for IBM cloud backends. Defaults to |
instance_crn |
str
|
The IBM Cloud instance CRN (Cloud Resource Name) for the IBM Quantum service. |
run_through_classiq |
bool
|
Run through Classiq's credentials. Defaults to |
See examples in the IBM Quantum Backend Documentation.
access_token
access_token: Optional[str] = Field(
default=None,
description="IBM Cloud access token to be used with IBM Quantum hosted backends",
)
backend_service_provider
backend_service_provider: IBM_CLOUD = Field(
default=IBM_QUANTUM
)
channel
channel: Optional[str] = Field(
default=None,
description="Channel to use for IBM cloud backends.",
)
instance_crn
instance_crn: Optional[str] = Field(
default=None, description="IBM Cloud instance CRN."
)
run_through_classiq
run_through_classiq: bool = Field(
default=False,
description="Run through Classiq's credentials",
)