Base Client

The base client is not meant to be used directly, but rather to be subclassed by the specific client implementations. It provides a common interface for all clients.

class qcog_python_client.qcog.BaseQcogClient

Bases: Generic[CLIENT]

ensemble(operators: list[str | int], dim: int = 16, num_axes: int = 4, sigma_sq: dict[str, float] = {}, sigma_sq_optimization: dict[str, float] = {}, seed: int = 42, target_operator: list[str | int] = []) Any

Select EnsembleModel for the training.

property http_client: CLIENT

Return the http client.

pauli(operators: list[str | int], qbits: int = 2, pauli_weight: int = 2, sigma_sq: dict[str, float] = {}, sigma_sq_optimization: dict[str, float] = {}, seed: int = 42, target_operator: list[str | int] = []) Any

Select PauliModel for the training.

property version: str

Qcog version.