ApiClient#
- class qiskit_calculquebec.API.client.ApiClient(host: str, user: str, access_token: str, realm: str, project_name: str = '', project_id: str = '', circuit_name: str = 'none')#
Bases:
objectData container holding authentication and routing information for the API.
Either
project_nameorproject_idmust be supplied. If both are provided,project_idtakes precedence andproject_nameis ignored.- Parameters:
host (str) – Base URL of the Thunderhead server (e.g.
"https://...").user (str) – User identifier (username).
access_token (str) – API access token for authentication.
realm (str) – Organizational realm associated with the machine.
project_name (str) – Name of the project. Resolved to a project ID at initialization. Mutually exclusive with
project_id.project_id (str) – Direct project ID. Mutually exclusive with
project_name.circuit_name (str) – Label attached to submitted circuits. Default:
"none".
Attributes
Circuit label attached to submitted jobs.
Name of the target quantum machine.
Project ID used in job submission requests.
Project name used for ID resolution.
- circuit_name#
Circuit label attached to submitted jobs.
- machine_name#
Name of the target quantum machine.
- project_id#
Project ID used in job submission requests.
- project_name#
Project name used for ID resolution.