Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from nfwvogt/main
Browse files Browse the repository at this point in the history
major update to support qoqo 0.4
  • Loading branch information
nfwvogt authored Jun 30, 2021
2 parents fcec257 + 5090153 commit 66f1996
Show file tree
Hide file tree
Showing 14 changed files with 831 additions and 1,527 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest flake8 flake8-bugbear flake8-docstrings flake8-annotations darglint mypy
python -m pip install pytest pytest-cov flake8 flake8-bugbear flake8-docstrings flake8-annotations darglint mypy
- name: Test with pytest
run: |
pip install pytest
pip install pytest qoqo_calculator_pyo3
pip install -e ./
pytest
pytest --cov=qoqo_pyquest --cov-fail-under=80
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
Binary file added CLA.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# How to contribute

We are happy to include your contribution to this project. To contribute open a pull request and we will get back to you.

## Contributor License Agreement

To clarify the intellectual property license granted with Contributions from any person or entity to HQS, we must have a Contributor License Agreement ("CLA") in place with each contributor. This license is for your protection as a Contributor as well as the protection of HQS and the users of this project; it does not change your rights to use your own Contributions for any other purpose.

Please fill and sign the CLA found at *url* and send it to [email protected].

## Code Guidlines
## Code Guidelines

1. Testing: We use pytest for this project. We require that all previous tests pass and that your provide proper tests with your contribution.
2. MyPy: We use type annotations and mypy to check for proper type annotations and usage of types throughout the code.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2020-2021 HQS Quantum Simulations GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
![PyPI - License](https://img.shields.io/pypi/l/qoqo_pyquest)
[![PyPI - Format](https://img.shields.io/pypi/format/qoqo_pyquest)](https://pypi.org/project/qoqo_pyquest/)

PyQuEST interface for the qoqo quantum toolkit by [HQS Quantum Simulations](https://quantumsimulations.de).
PyQuEST interface for the [qoqo](https://github.com/HQSquantumsimulations/qoqo) quantum toolkit by [HQS Quantum Simulations](https://quantumsimulations.de).

qoqo-pyquest provides the PyQuestBackend class that allows users to simulate a qoqo circuit.
The PyQuestBackend can be uses together with the Measurement or DoUnitary classes of qoqo for automated observable measurements.

This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.

## Contributing

We welcome contributions to the project. If you want to contribute code, please have a look at CONTRIBUTE.md for our code contribution guidelines.
2 changes: 1 addition & 1 deletion qoqo_pyquest/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
"""qoqo_pyquest version information"""
__version__ = 'v0.2.1'
__version__ = 'v0.3.0'
Loading

0 comments on commit 66f1996

Please sign in to comment.