Pennylane plugin enabling seamless job execution on MonarQ, Calcul Québec’s nonprofit-hosted quantum computer
Project description
pennylane-calculquebec
Pour la version en français, visitez cette page
Table of content
- Definitions
- Project structure
- Local installation
- Usage
- Dependencies
- State of the project and known issues
- References
Definitions
Pennylane-CalculQuebec is a PennyLane plugin enabling seamless job execution on MonarQ, Calcul Québec’s nonprofit-hosted quantum computer.
It also offers simulation and pre-processing / post-processing capabilities relative to MonarQ quantum computer.
Pennylane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.
Calcul Quebec is a non-profit organization that regroups universities from the Province of Quebec and provides computing power to research and academia.
Local installation
Pennylane-calculquebec can be installed using pip:
pip install pennylane-calculquebec
Alternatively, you can clone this repo and install the plugin with the following command from the root of the repo:
pip install -e .
Pennylane and other Python dependencies will be installed automatically during the installation process.
Usage
If you need more information about how to use the plugin, you may read the getting-started jupyter notebook.
Running files
The plugin can be used both in python scripts and Jupyter notebooks. To run a script, you can use the following command:
python base_circuit.py
Dependencies
Python modules
Those packages are installed automatically during the plugin installation process and are necessary for the plugin to work. Here are the links to their respective documentation:
-
For PennyLane, please refer to the PennyLane documentation.
-
Netowkx is a Python graph algorithms library. It is used seemlessly during some of the transpiling steps. Here's the documentation.
-
Numpy is a mathematical library that is used heavily by Pennylane, and the plugin. Here's the documentation.
State of the project and known issues
The plugin is currently in its beta phase and provides access to MonarQ directly through API calls. It also contains capabilities for obtaining benchmarks and machine informations. There are also features that let experimented users change the pre-processing / post-processing behaviour of the device, and create custom pre-processing / post processing steps. There is a simulator device which is currently being developed, but the noise model still needs to be tweaked. The placement and routing phases of the transpiler currently chose wires and couplers by prioritizing best fidelities first, but this does not yield optimal results in terms of errors. The unit-test coverage is still not complete.
Future plans
- Have 80 % unit test line coverage for each file in the project
- Integrate circuit paralellization capabilities to run multiple circuits at the same time
- Add new transpiling steps to the device to improve placement, routing, error mitigation and optimization.
- Make the MonarQ simulation device available through qml.device
References
Calcul Québec's Wiki provides a lot of information on the plugin, its components and how to use them. You can access it here.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pennylane_calculquebec-0.7.1.tar.gz.
File metadata
- Download URL: pennylane_calculquebec-0.7.1.tar.gz
- Upload date:
- Size: 165.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
360462adcddfce09cf4481329551e7a0ea8c997c04f836b200d97f370a2ce06a
|
|
| MD5 |
b74250ce62aba825797f4c810874de5d
|
|
| BLAKE2b-256 |
5af31bee3a73393cd28386fa4cdc5dec16154a6d073718a379d6df120281a160
|
Provenance
The following attestation bundles were made for pennylane_calculquebec-0.7.1.tar.gz:
Publisher:
python-publish.yml on calculquebec/pennylane-calculquebec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pennylane_calculquebec-0.7.1.tar.gz -
Subject digest:
360462adcddfce09cf4481329551e7a0ea8c997c04f836b200d97f370a2ce06a - Sigstore transparency entry: 637975017
- Sigstore integration time:
-
Permalink:
calculquebec/pennylane-calculquebec@ad698cce8ef06a1f54f59bd5d9bc6d2e4e0ff2bf -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/calculquebec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ad698cce8ef06a1f54f59bd5d9bc6d2e4e0ff2bf -
Trigger Event:
release
-
Statement type:
File details
Details for the file pennylane_calculquebec-0.7.1-py3-none-any.whl.
File metadata
- Download URL: pennylane_calculquebec-0.7.1-py3-none-any.whl
- Upload date:
- Size: 66.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a090c550dd8e02e6656dd4ade68b9af5df7cd28173c1590ab9d5adbceb8d7bb4
|
|
| MD5 |
10139de13cb2ba3537b7a19eb988352b
|
|
| BLAKE2b-256 |
4a9d8532043bcfba8822d5ef546ee7d483d14ba65ebc1797107baa2090b6e09b
|
Provenance
The following attestation bundles were made for pennylane_calculquebec-0.7.1-py3-none-any.whl:
Publisher:
python-publish.yml on calculquebec/pennylane-calculquebec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pennylane_calculquebec-0.7.1-py3-none-any.whl -
Subject digest:
a090c550dd8e02e6656dd4ade68b9af5df7cd28173c1590ab9d5adbceb8d7bb4 - Sigstore transparency entry: 637975063
- Sigstore integration time:
-
Permalink:
calculquebec/pennylane-calculquebec@ad698cce8ef06a1f54f59bd5d9bc6d2e4e0ff2bf -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/calculquebec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ad698cce8ef06a1f54f59bd5d9bc6d2e4e0ff2bf -
Trigger Event:
release
-
Statement type: