QCMDataClient#

class QCMDataClient(root_url, fallback_root_url='')#

Bases: object

Python client for QCM (Quantum Computer Management) Data API.

Parameters:
  • root_url (str) – URL pointing to QCM Data service. This URL can point to a local file storage as well. In that case, the URL should point to a directory which has a directory structure identical to QCM Data service (for example /chip-data-records/), and files containing data in identical format returned by QCM Data service. For example, CHAD files should be named {chip_label}.json, like M156_W531_A09_L09.json, and contain a list instead of a single object.

  • fallback_root_url (str) – Same as root_url, used if a query via root_url returns nothing.

Module: exa.common.qcm_data.qcm_data_client

Attributes

root_url

Returns the remote QCM Data service URL.

Methods

get_chad

DEPRECATED.

get_chip_design_record

Get a raw chip design record matching the given chip label.

get_qubit_design_properties

DEPRECATED.

property root_url: str#

Returns the remote QCM Data service URL.

get_chip_design_record(chip_label)#

Get a raw chip design record matching the given chip label.

Parameters:

chip_label (str) – Chip label.

Returns:

Data record matching the given chip label.

Return type:

dict

get_chad(chip_label)#

DEPRECATED. Use get_chip_design_record() instead.

Parameters:

chip_label (str) –

Return type:

dict | None

get_qubit_design_properties(chip_label)#

DEPRECATED. Use get_chip_design_record() instead.

Parameters:

chip_label (str) –

Return type:

dict | None