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: object

Data container holding authentication and routing information for the API.

Either project_name or project_id must be supplied. If both are provided, project_id takes precedence and project_name is 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".

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.

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.