All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Python context manager
with flushing(MainEngine()) as eng:
- Fixed some typos (thanks to @eltociear, @Darkdragon84)
- Fixed support for Python 3.12
- Support for Python 3.7
- Update GitHub workflows to work with merge queues
- Update GitHub workflow action versions:
actions/cache@v3
,actions/checkout@v3
,actions/setup-python@v4
,thomaseizinger/create-pull-request
- Update pre-commit hook versions
- Fix failing GitHub workflows (Clang-10)
- Introduce pre-commit CI
- Update to clang-tidy 14 in GitHub workflow
- Added new pre-commit hooks:
codespell
,doc8
,pydocstyle
andyamllint
- Keep
flake8
hook to version 5.0.4 until plugins support Flake8 6.X - Disable
no-member
warning for Pylint on pre-commit CI
v0.8.0 - 2022-10-18
- New backend for the Azure Quantum platform
- Support for Python 3.6 and earlier is now deprecated
- Moved package metadata into pyproject.toml
- Fixed installation on Apple Silicon with older Python versions (< 3.9)
- Update
docker/setup-qemu-action
GitHub action to v2 - Fixed CentOS 7 configuration issue
- Added two new pre-commit hooks:
blacken-docs
andpyupgrade
v0.7.3 - 2022-04-27
- Fixed IonQ dynamic backends fetch, which relied on an incorrect path.
v0.7.2 - 2022-04-11
- Added IonQ dynamic backends fetch.
- Fix issues with building on CentOS 7 & 8
- Update
pre-commit/pre-commit-hooks
to v4.2.0 - Update
Lucas-C/pre-commit-hooks
hook to v1.1.13 - Update
flake8
hook to v4.0.1 - Update
pylint
hook to v3.0.0a4 - Update
black
hook to v22.3.0 - Update
check-manifest
to v0.48
0.7.1 - 2022-01-10
- Added environment variable to avoid -march=native when building ProjectQ
- Added environment variable to force build failure if extensions do not compile on CI
- Fix compiler flags cleanup function for use on CI
- Fix workflow YAML to allow execution of GitHub Actions locally using
act
- GitHub action using deprecated and vulnerable
pre-commit
version - Fixed issue with
gen_reqfile
command if--include-extras
is not provided
- Add configuration for CIBuildWheel in
pyproject.toml
- Remove use of deprecated images
windows-2016
in GitHub workflows - Re-add build of Python binary wheels in release publishing GitHub workflow
- Update
dangoslen/changelog-enforcer
GitHub action to v3 - Update
thomaseizinger/keep-a-changelog-new-release
GiHub action to v1.3.0 - Update
thomaseizinger/create-pull-request
GiHub action to v1.2.2 - Update pre-commit hook
pre-commit/pre-commit-hooks
to v4.1.0 - Update pre-commit hook
PyCQA/isort
to v5.10.1 - Update pre-commit hook
psf/black
to v21.12b0 - Update pre-commit hook
PyCQA/flake8
to v4.0.1 - Update pre-commit hook
mgedmin/check-manifest
to v0.47
0.7.0 - 2021-07-14
- UnitarySimulator backend for computing the unitary transformation corresponding to a quantum circuit
- Moved some exceptions classes into their own files to avoid code duplication
- Prevent infinite recursion errors when too many compiler engines are added to the MainEngine
- Error in testing the decomposition for the phase estimation gate
- Fixed small issue with matplotlib drawing backend
- Make all docstrings PEP257 compliant
- Some compatibility code for Python 2.x
- Added
isort
to the list of pre-commit hooks - Added some more flake8 plugins to the list used by
pre-commit
:- flake8-breakpoint
- flake8-comprehensions
- flake8-docstrings
- flake8-eradicate
- flake8-mutable
- Fix GitHub workflow for publishing a new release
0.6.0 - 2021-06-23
- New backend for the IonQ platform
- New backend for the AWS Braket platform
- New gates for quantum math operations on quantum registers
- Support for state-dependent control qubits (ie. negatively or positively controlled gates)
- Name of the single parameter of the
LocalOptimizer
has been changed fromm
tocache_size
in order to better represent its actual use.
- Compatibility with Python <= 3.5
LocalOptimizer(m=10)
should be changed intoLocalOptimizer(cache_size=10)
. Using of the old name is still possible, but is deprecated and will be removed in a future version of ProjectQ.
- Installation on Mac OS Big Sur
- IBM Backend issues with new API
- Compatibility with Python 2.7
- Support for multi-qubit measurement gates has been dropped; use
All(Measure) | qureg
instead
-
Use
setuptools-scm
for versioning -
Added
.editorconfig
file -
Added
pyproject.toml
andsetup.cfg
-
Added CHANGELOG.md
-
Added support for GitHub Actions
- Build and testing on various platforms and compilers
- Automatic draft of new release
- Automatic publication of new release once ready
- Automatic upload of releases artifacts to PyPi and GitHub
-
Added pre-commit configuration file
-
Updated cibuildwheels action to v1.11.1
-
Updated thomaseizinger/create-pull-request action to v1.1.0
0.5.1 - 2019-02-15
- Add histogram plot function for measurement results (thanks @AriJordan )
- New backend for AQT (thanks @dbretaud )
- Fix Qiskit backend (thanks @dbretaud )
- Fix bug with matplotlib drawer (thanks @AriJordan )
0.5.0 - 2020
- New PhaseEstimation and AmplitudeAmplification gates (thanks @fernandodelaiglesia)
- New Rxx, Ryy and Rzz gates (thanks @dwierichs)
- New decomposition rules and compiler setup for trapped ion quantum based computers (thanks @dbretaud)
- Added basic circuit drawer compiler engine based on Matplotlib CircuitDrawerMatplotlib (thanks @Bombenchris)
- Significantly improved C++ simulator performances (thanks @melven)
- Allow user modification of the qubit drawing order for the
CircuitDrawer
compiler engine (thanks @alexandrupaler) - Update to the installation script. The installation now automatically defaults to the pure Python implementation if compilation of the C++ simulator (or other C++ modules) should fail (#337)
- Automatic generation of the documentation (#339)
- Fixed connection issues between IBM backend and the IBM Quantum Experience API (thanks @alexandrupaler)
The ProjectQ v0.5.x release branch is the last one that is guaranteed to work with Python 2.7.x.
Future releases might introduce changes that will require Python 3.5 (Python 3.4 and earlier have already been declared deprecated at the time of this writing)