Different clients for access to the C12 simulator
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).
- Clone the GitHub repository into local folder:
git clone https://github.com/c12qe/c12simulator-clients.git
- Create the conda environment with the command:
conda env create -f environment.yml
- Then activate the conda environment with:
conda activate c12_callisto_clients
- And finally install the dependencies with
poetry install
Usage
- From the command line:
- From the installed package:
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
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 Distribution
Built Distribution
File details
Details for the file c12_callisto_clients-2.2.0.tar.gz
.
File metadata
- Download URL: c12_callisto_clients-2.2.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ece725f52831ba4300f708231a99e7e9150ea8844a45da26c51f1a32134328 |
|
MD5 | f73bf45256117ec33ca67c632749f796 |
|
BLAKE2b-256 | 2e9fb704a1927308a3b47442b7fc5ec7a84abd1a07f4a652fa924f14c2849e32 |
File details
Details for the file c12_callisto_clients-2.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: c12_callisto_clients-2.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252401eb1333c45870739a510109fba9200796169db0f049513d12d62c66c0ba |
|
MD5 | f639fcc8d698894d4ea05dd0f492e62f |
|
BLAKE2b-256 | 615f6561dd2a2223d7299ef3210242616e09515e21b9dcbaa4aae1835a7dea14 |