Classiq
ClassiqBackendPreferences
Bases: BackendPreferences
Represents backend preferences specific to Classiq quantum computing targets.
This class is used to configure the backend options for executing quantum circuits on Classiq's platform.
The relevant backend names for Classiq targets are specified in ClassiqSimulatorBackendNames & ClassiqNvidiaBackendNames.
Attributes:
| Name | Type | Description |
|---|---|---|
backend_service_provider |
CLASSIQ
|
The provider vendor (Classiq). |
backend_name |
str
|
Name of the requested backend or target. |
use_double_precision |
bool
|
When True, Nvidia and Braket Nvidia simulators use double precision; when False (default), they use single precision. Only applies to Nvidia backends; ignored for other Classiq simulators. |
For more details, refer to the Classiq Backend Documentation.
Methods:
| Name | Description |
|---|---|
is_nvidia_backend |
|
backend_service_provider
backend_service_provider: CLASSIQ = Field(default=CLASSIQ)
use_double_precision
use_double_precision: bool = Field(
default=False,
description="Use double precision on Nvidia and Braket Nvidia simulators. Default is False (single precision). Set to True for double precision.",
)
is_nvidia_backend
is_nvidia_backend() -> bool
ClassiqSimulatorBackendNames
Bases: StrEnum
The simulator backends available in the Classiq provider.
Attributes:
| Name | Type | Description |
|---|---|---|
SIMULATOR |
|
|
SIMULATOR_DENSITY_MATRIX |
|
|
SIMULATOR_MATRIX_PRODUCT_STATE |
|
|
SIMULATOR_STATEVECTOR |
|
SIMULATOR
SIMULATOR = 'simulator'
SIMULATOR_DENSITY_MATRIX
SIMULATOR_DENSITY_MATRIX = 'simulator_density_matrix'
SIMULATOR_MATRIX_PRODUCT_STATE
SIMULATOR_MATRIX_PRODUCT_STATE = (
"simulator_matrix_product_state"
)
SIMULATOR_STATEVECTOR
SIMULATOR_STATEVECTOR = 'simulator_statevector'
ClassiqNvidiaBackendNames
Bases: StrEnum
Classiq's Nvidia simulator backend names.
Methods:
| Name | Description |
|---|---|
is_braket_nvidia_backend |
|
Attributes:
| Name | Type | Description |
|---|---|---|
BRAKET_NVIDIA_SIMULATOR |
|
|
BRAKET_NVIDIA_SIMULATOR_STATEVECTOR |
|
|
SIMULATOR |
|
|
SIMULATOR_STATEVECTOR |
|
BRAKET_NVIDIA_SIMULATOR
BRAKET_NVIDIA_SIMULATOR = 'braket_nvidia_simulator'
BRAKET_NVIDIA_SIMULATOR_STATEVECTOR
BRAKET_NVIDIA_SIMULATOR_STATEVECTOR = (
"braket_nvidia_simulator_statevector"
)
SIMULATOR
SIMULATOR = 'nvidia_simulator'
SIMULATOR_STATEVECTOR
SIMULATOR_STATEVECTOR = 'nvidia_simulator_statevector'
is_braket_nvidia_backend
is_braket_nvidia_backend() -> bool