Skip to main content

Python SDK for the PlanQK Platform

Project description

PlanQK Quantum SDK

PyPI version

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

To install a pre-release version, use the following command:

pip install --pre --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 .

To update the environment, run:

conda env update -f environment.yml

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:

  1. Create a new branch from main and name it dev (make sure you delete an old dev branch). This branch is used for pre-releases and its commits are not automatically released.
  2. In the dev branch open setup.py file and increase the version number and add the suffix -rcX to it, where X is the release candidate number. If the version number is for instance 12.1.0, then the new version number should be 12.2.0-rc1.
  3. Push your changes to the dev branch.
  4. Go to the GitLab repository and click in section Deploy on Releases.
  5. Click on Draft a new release.
  6. Click on Choose a tag. Enter the new version number prefixed by vin the Tag version field, e.g., v12.2.0-rc1.
  7. Select the dev branch in the Target field.
  8. Enter as title the tag name and add a description for the release.
  9. 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

planqk_quantum-2.10.0.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

planqk_quantum-2.10.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file planqk_quantum-2.10.0.tar.gz.

File metadata

  • Download URL: planqk_quantum-2.10.0.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for planqk_quantum-2.10.0.tar.gz
Algorithm Hash digest
SHA256 27efc6851f174215153819d42f3a6a9ca73fb54ab1c4c82f9bfa69aa28573f5b
MD5 7ffcdfbff9e0020fa188b8c01f458d65
BLAKE2b-256 149dfa82c6c54143d427a2c94186557f133603491c7e9525339c7da080e0a222

See more details on using hashes here.

File details

Details for the file planqk_quantum-2.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for planqk_quantum-2.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e71335fd826ac164748fc5afaf3ecba305c554e98ef99e7d14b27c458e020146
MD5 ddf94745fb3e028725741a054a40b6f7
BLAKE2b-256 38a5e08a657e329b9caf411ad14c5afde5d8a3e8215b6f09e8506d6b3abfcf5b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page