You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [v0.8.0] - 2022-10-18
11
+
12
+
### Added
13
+
14
+
- New backend for the Azure Quantum platform
15
+
16
+
### Changed
17
+
18
+
- Support for Python 3.6 and earlier is now deprecated
19
+
- Moved package metadata into pyproject.toml
20
+
21
+
### Fixed
22
+
23
+
- Fixed installation on Apple Silicon with older Python versions (< 3.9)
24
+
25
+
### Repository
26
+
27
+
- Update `docker/setup-qemu-action` GitHub action to v2
28
+
- Fixed CentOS 7 configuration issue
29
+
- Added two new pre-commit hooks: `blacken-docs` and `pyupgrade`
30
+
10
31
## [v0.7.3] - 2022-04-27
11
32
12
33
### Fixed
@@ -190,7 +211,9 @@ The ProjectQ v0.5.x release branch is the last one that is guaranteed to work wi
190
211
191
212
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)
Copy file name to clipboardExpand all lines: README.rst
+63-23Lines changed: 63 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ targeting various types of hardware, a high-performance quantum computer
27
27
simulator with emulation capabilities, and various compiler plug-ins.
28
28
This allows users to
29
29
30
-
- run quantum programs on the IBM Quantum Experience chip, AQT devices, AWS Braket, or IonQ service provided devices
30
+
- run quantum programs on the IBM Quantum Experience chip, AQT devices, AWS Braket, Azure Quantum, or IonQ service provided devices
31
31
- simulate quantum programs on classical computers
32
32
- emulate quantum programs at a higher level of abstraction (e.g.,
33
33
mimicking the action of large oracles instead of compiling them to
@@ -43,7 +43,10 @@ Examples
43
43
.. code-block:: python
44
44
45
45
from projectq import MainEngine # import the main compiler engine
46
-
from projectq.ops import H, Measure # import the operations we want to perform (Hadamard and measurement)
46
+
from projectq.ops import (
47
+
H,
48
+
Measure,
49
+
) # import the operations we want to perform (Hadamard and measurement)
47
50
48
51
eng = MainEngine() # create a default compiler (the back-end is a simulator)
49
52
qubit = eng.allocate_qubit() # allocate a quantum register with 1 qubit
@@ -52,7 +55,7 @@ Examples
52
55
Measure | qubit # measure the qubit
53
56
54
57
eng.flush() # flush all gates (and execute measurements)
55
-
print("Measured {}".format(int(qubit))) # converting a qubit to int or bool gives access to the measurement result
58
+
print(f"Measured {int(qubit)}") # converting a qubit to int or bool gives access to the measurement result
56
59
57
60
58
61
ProjectQ features a lean syntax which is close to the mathematical notation used in quantum physics. For example, a rotation of a qubit around the x-axis is usually specified as:
@@ -80,9 +83,7 @@ Instead of simulating a quantum program, one can use our resource counter (as a
0 commit comments