Different clients for access to the C12 simulator
Project description
c12-callisto-clients
c12-callisto-clients
is a Python package with a tools that enables a user to communicate with the
C12's Callisto simulator whose purpose
is to simulate the operations on the real C12 quantum computer.
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 carbon nano tubes (CNTs) embedded in a silicon nano circuit and microwave cavity. C12’s spin qubits have high fidelity, scalability and connectivity because of the properties of the materials used to build the basics elements of the C12 system.
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 the 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 have its token (given by the administrator or ??? ). All this parameters can be given as a command line arguments:
python3 main.py --qasmfile {{PATH_TO_FILE_WITH_QASM_STR}} --token {{USER_AUTH_TOKEN}}
Additional argument --verbose
can be added in order to see the more detailed output.
Detailed information of the command structure can be obtained using command python3 main.py --help
Jupyter notebooks are given on the link: notebooks
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
Built Distribution
File details
Details for the file c12simulator_clients-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: c12simulator_clients-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36d73f66d7a3674c3ebd559ee2b262571d377c17344e0da5f34324c94676322e |
|
MD5 | 7921f89e426f7a1e403d3752e880fdb8 |
|
BLAKE2b-256 | 08fd729ca7f003a9998757766fc1734c7257d8942722ba5846dc32860fe803dc |