Skip to content

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.

For more details, refer to the Classiq Backend Documentation.

Methods:

Name Description
is_nvidia_backend

Attributes:

Name Type Description
backend_service_provider CLASSIQ

backend_service_provider

backend_service_provider: CLASSIQ = Field(default=CLASSIQ)

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.

Attributes:

Name Type Description
SIMULATOR
SIMULATOR_STATEVECTOR

SIMULATOR

SIMULATOR = 'nvidia_simulator'

SIMULATOR_STATEVECTOR

SIMULATOR_STATEVECTOR = 'nvidia_simulator_statevector'