general_superstaq.typing

Classes

Job

A class to store data for a Superstaq job.

Target

A data class to store data returned from a /get_targets request.

Module Contents

class general_superstaq.typing.Job

Bases: TypedDict

A class to store data for a Superstaq job.

circuit_type: str
compiled_circuit: str
data: dict[str, Any] | None
input_circuit: str | None
num_qubits: int
provider_id: str
pulse_gate_circuits: str | None
samples: dict[str, int] | None
shots: int | None
state_vector: str | None
status: str
target: str
class general_superstaq.typing.Target(/, **data: Any)

Bases: pydantic.BaseModel

A data class to store data returned from a /get_targets request.

accessible: bool = False
available: bool = False
retired: bool = False
supports_compile: bool = False
supports_submit: bool = False
supports_submit_qubo: bool = False
target: str