Python SDK for the PlanQK Platform
Project description
PlanQK Quantum SDK
The PlanQK Quantum SDK is for developing quantum circuits using Qiskit to be run on quantum devices provided by the PlanQK Platform. This library is an extension for Qiskit. This means that you are able to seamlessly integrate and reuse your existing Qiskit code, leveraging the power and familiarity of a framework you are already accustomed to.
Getting Started
Check out the following guides on how to get started with PlanQK:
Installation
The package is released on PyPI and can be installed via pip
:
pip install --upgrade planqk-quantum
Development
To create a new Conda environment, run:
conda env create -f environment.yml
Then, to activate the environment:
conda activate planqk-quantum
To install the package in development mode, run:
pip install -e .
Release Process
The SDK is released to PyPi.
The release numbers follow the Semantic Versioning approach resulting in a version number in the format major.minor.patch
.
The version number is automatically increased by the CI/CD pipeline based on your commit message.
Production Release
If you push to the main
branch and the commit message contains, for example, the prefix feat:
, fix:
or perf:
a new release will be created automatically.
You can use the keyword BREAKING CHANGE
in the commit message to trigger a major release.
Use chore:
or omit the prefix if you do not want a new release to be created.
Warning: This release will be public and affects all services using the SDK in production.
Staging / Testing Release
If you want to create a release only for the testing environment (pre-release), perform the following steps:
- Create a new branch from
main
and name itdev
(make sure you delete an olddev
branch). This branch is used for pre-releases and its commits are not automatically released. - In the
dev
branch opensetup.py
file and increase the version number and add the suffix-rcX
to it, whereX
is the release candidate number. If the version number is for instance12.1.0
, then the new version number should be12.1.1-rc1
. - Push your changes to the
dev
branch. - Go to the GitLab repository and click in section
Deploy
onReleases
. - Click on
Draft a new release
. - Click on
Choose a tag
. Enter the new version number prefixed byv
in theTag version
field, e.g.,v12.1.1-rc1
. - Select the
dev
branch in theTarget
field. - Enter as title the tag name and add a description for the release.
- Click on
Publish release
.
Do not forget to merge your changes back to the main branch once you want to release these changes to production.
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
File details
Details for the file planqk_quantum-2.8.2.tar.gz
.
File metadata
- Download URL: planqk_quantum-2.8.2.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793fe04f1df4427b202c364b3b2b84e6073227d08db5ff27d958de14facf7906 |
|
MD5 | ac77ccf05919c802f89a2c2f0630dad2 |
|
BLAKE2b-256 | 856c1aadbd69035e19d3744acfdbe39c7c6d029f72cf96fbfc4ea8601d2eb3f9 |
File details
Details for the file planqk_quantum-2.8.2-py3-none-any.whl
.
File metadata
- Download URL: planqk_quantum-2.8.2-py3-none-any.whl
- Upload date:
- Size: 48.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4bf4d1f2c37fb560cb8dc79bf8ae2350d7d18a73fd20e0eb92f17f0d6e0e304 |
|
MD5 | db39370b3579e924b64143264cba92fe |
|
BLAKE2b-256 | d4dea8e04cc68b4521e0ae3d54308703eb961de51413a85c97c33c693b6db88e |