Skip to content

C12

C12BackendPreferences

Bases: BackendPreferences

Represents the backend preferences specific to C12.

Attributes:

Name Type Description
backend_name str

Name of the requested backend or target.

result_format str

Result format of the job; one of "counts", "state_vector", or "density_matrix". Defaults to "counts".

inilabel str | None

Initial state specified using a binary label format (e.g. "00", "01"). Mutually exclusive with inistatevector.

inistatevector str | None

Initial state vector as a comma-separated list of complex values (e.g. "1.+0.j, 0.+0.j, 0.+0.j, 0.+0.j"). Mutually exclusive with inilabel.

ininoisy bool | None

Whether to use noisy initialization of the circuit.

backend_service_provider

backend_service_provider: C12 = Field(default=C12)

inilabel

inilabel: str | None = Field(
    default=None,
    description="Initial label of the initial state.",
)

ininoisy

ininoisy: bool | None = Field(
    default=None,
    description="Whether the initial state is noisy.",
)

inistatevector

inistatevector: str | None = Field(
    default=None,
    description="Initial state vector of the job.",
)

parameters

parameters: dict

result_format

result_format: str = Field(
    default="counts", description="Result format of the job"
)

C12BackendNames

Bases: StrEnum

Attributes:

Name Type Description
SIMULATOR
SQUARED

SIMULATOR

SIMULATOR = 'c12sim-iswap'

SQUARED

SQUARED = 'squared-iswap'