devices¶
Client API for devices in Nexus.
- qnexus.client.devices.expectation_allows_nonhermitian(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support expectation_allows_nonhermitian?
- qnexus.client.devices.get_all(
- issuers: list[IssuerEnum] | None = None,
- aws_region: str | None = None,
- ibmq_hub: str | None = None,
- ibmq_group: str | None = None,
- ibmq_project: str | None = None,
- credentials: list[Credential] | None = None,
- credential_names: list[str] | None = None,
- nexus_hosted: bool | None = None,
Get all available devices.
- qnexus.client.devices.supports_contextual_optimisation(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support TKET contextual optimization?
- qnexus.client.devices.supports_counts(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support shots?
- qnexus.client.devices.supports_density_matrix(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support density matrix results?
- qnexus.client.devices.supports_expectation(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support expectation values?
- qnexus.client.devices.supports_shots(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support shots?
- qnexus.client.devices.supports_state(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support statevector results?
- qnexus.client.devices.supports_unitary(
- backend_config: Annotated[AerConfig | AerStateConfig | AerUnitaryConfig | BraketConfig | QuantinuumConfig | IBMQConfig | IBMQEmulatorConfig | ProjectQConfig | QulacsConfig, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
Does the backend configuration support a unitary?