NOTICE: This project is no longer maintained on GitHub. It has been moved to GitLab for continued updates and development. You can find the latest version of this project at https://gitlab.com/planqk-foss/planqk-quantum.
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.
Check out the following guides on how to get started with PlanQK:
The package is released on PyPI and can be installed via pip:
pip install --upgrade planqk-quantumTo create a new Conda environment, run:
conda env create -f environment.ymlThen, to activate the environment:
conda activate planqk-quantumTo install the package in development mode, run:
pip install -e .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 format.
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.
If you want to create a release only for the testing environment (pre-release), perform the following steps:
- Create a new branch from
mainand name itdev(make sure you delete an olddevbranch). This branch is used for pre-releases and its commits are not automatically released. - In the
devbranch opensetup.pyfile and increase the version number and add the suffixrcXto it, whereXis the release candidate number. If the version number is for instance12.1.0, then the new version number should be12.1.1rc1. - Push your changes to the
devbranch. - Git to the GitHub repository and click an on
Releases. - Click on
Draft a new release. - Click on
Choose a tag. Enter the new version number prefixed byvin theTag versionfield, e.g.,v12.1.1rc1. - Select the
devbranch in theTargetfield. - Enter as title the tag name and add a description for the release.
- Select
This is a pre-releaseand click onPublish release.
Do not forget to merge your changes back to the main branch once you want to release these changes to production.