Skip to main content

Different adapters for the access to the C12 Callisto quantum emulator.

Project description

c12-callisto-clients

c12-callisto-clients is a Python package with tools that enable a user to communicate with C12's Callisto emulator, whose purpose is to emulate operations on C12’s quantum computer hardware.

C12’s quantum computer is based on optimized spin qubits. The spin qubit is realized from electrons trapped in a double quantum dot suspended on a carbon nanotube embedded in a silicon nanofabricated circuit. C12’s spin qubits have high fidelity, scalability and connectivity because of the properties of the materials used.

Installing

From the PyPI repository

Run the following command inside your local Python environment:

pip install c12_callisto_clients

From the GitHub package

In order to run the package the best policy is to create a conda environment where all the necessary packages will be installed. To do that, we need to have conda installed (if that is not the case see conda installation).

  1. Clone the GitHub repository into local folder:

    git clone https://github.com/c12qe/c12simulator-clients.git

  2. Create the conda environment with the command:

    conda env create -f environment.yml

  3. Then activate the conda environment with:

    conda activate c12_callisto_clients

  4. And finally install the dependencies with

    poetry install

Usage

  1. From the command line:
  2. The application will run a circuit given in Open QASM format. In order to do that a user has to input a personal token that C12 can provide. All the parameters can be given as command line arguments:

    python3 main.py --qasmfile {{PATH_TO_FILE_WITH_QASM_STR}} --token {{USER_AUTH_TOKEN}}

    The additional argument --verbose can be added in order to see a more detailed output.

    Details of the command structure can be obtained using command python3 main.py --help

  3. From the installed package:
  4. Jupyter notebooks are available at: notebooks

Licence

Licence EULA document can be seen here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

c12_callisto_clients-2.2.2-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file c12_callisto_clients-2.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for c12_callisto_clients-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a062eaa76732e5381ba8968dfbec3d32f6adb91c8a4b87bdcfd5aba5a18b7e4b
MD5 4074a156fe0a629a5b5b3394f7621f4e
BLAKE2b-256 7c7939c3cca86e8a4580c6e1f457af11bee47bbb3408ddeefc856228a7cc63e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page