IQCCProvider¶
- class IQCCProvider(api_token: str | None = None)[source][source]¶
Bases:
objectProvider for IQCC cloud quantum computers.
Fetches QuAM state from the cloud and returns
FluxTunableTransmonBackendinstances. Requirespip install qiskit-qm-provider[iqcc].Initialize the IQCC provider.
- Parameters:
api_token – IQCC API token. When omitted, the client library may read credentials from its default configuration.
- get_machine(name: str, quam_state_folder_path: str | None = None, quam_cls: Type[QuamRoot] | None = None) QuamRoot[source][source]¶
Get a the latest Quam state from the IQCC Cloud. :param name: The name of the quantum computer. :param quam_state_folder_path: The path to the Quam state folder. :param quam_cls: The Quam class to use. If not provided, default Quam from quam-builder is used.
- Returns:
The Quam machine.
- get_cloud_client(name: str) IQCC_Cloud[source][source]¶
Return (and cache) an IQCC cloud client for a backend name.
- Parameters:
name – IQCC quantum computer backend identifier.
- Returns:
Connected
IQCC_Cloudclient.
- get_backend(name: str | QuamRoot, quam_state_folder_path: str | None = None, quam_cls: Type[QuamRoot] | None = None) FluxTunableTransmonBackend[source][source]¶
Get a backend from the IQCC Cloud. For now all backends are assumed to be FluxTunableTransmonBackend. :param name: The name of the quantum computer or a pre-loaded Quam machine. :param quam_state_folder_path: The path to the Quam state folder. :param quam_cls: The Quam class to use.
- Returns:
The FluxTunableTransmonBackend.