Skip to content

Commit ee250f9

Browse files
committed
Bump version
1 parent 67f5f70 commit ee250f9

File tree

5 files changed

+47
-8
lines changed

5 files changed

+47
-8
lines changed

library/fixed_point/qsharp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"github": {
77
"owner": "Microsoft",
88
"repo": "qsharp",
9-
"ref": "v1.20.0",
9+
"ref": "v1.21.0",
1010
"path": "library/signed"
1111
}
1212
}

library/signed/qsharp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"github": {
77
"owner": "Microsoft",
88
"repo": "qsharp",
9-
"ref": "v1.20.0",
9+
"ref": "v1.21.0",
1010
"path": "library/qtest"
1111
}
1212
}

source/vscode/changelog.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# QDK Changelog
22

3+
## v1.21.0
4+
5+
Below are some of the highlights for the 1.21 release of the QDK.
6+
7+
### QDK Python package
8+
9+
With this release we are also publishing a `qdk` package to PyPI (see <https://pypi.org/project/qdk/>). This is still in the 'preview' stage as we lock down the API, but the goal is that going forward the QDK will be installed in Python via `pip install qdk`, with any optional extras needed (e.g. `pip install "qdk[jupyter,azure,qiskit]"` to add the Jupyter Notebooks, Azure Quantum, and Qiskit integration). Once installed, import from the necessary submodules (e.g. `from qdk.openqasm import compile`)
10+
11+
Please give it a try and open an issue if you have any feedback.
12+
13+
### Complex literals
14+
15+
The Q\# language added support for complex literals. For example,
16+
17+
```qsharp
18+
function GetComplex() : Complex {
19+
3. + 4.i
20+
}
21+
```
22+
23+
This can be used in arithmetic expressions (e.g., `(2.0 + 3.0i) * (4.0 + 5.0i)`) and passed to and from Python.
24+
25+
## Other notable changes
26+
27+
- Update to latest simulator, new benchmark by @swernli in https://github.com/microsoft/qdk/pull/2690
28+
- Updated wording in 'complex numbers' kata by @DmitryVasilevsky in https://github.com/microsoft/qdk/pull/2694
29+
- Fix decomposition for controlled Rxx/Ryy by @swernli in https://github.com/microsoft/qdk/pull/2699
30+
- Fix panic in RCA when using tuple variables as arguments to a lambda by @swernli in https://github.com/microsoft/qdk/pull/2701
31+
- Support Complex literals, arithmetic operations by @swernli in https://github.com/microsoft/qdk/pull/2709
32+
- Fix panic when interpreter has unbound names in Adaptive/Base by @swernli in https://github.com/microsoft/qdk/pull/2691
33+
- [OpenQASM]: Properly detect zero step in const ranges by @orpuente-MS in https://github.com/microsoft/qdk/pull/2715
34+
- Short-circuiting expressions produce divergent types that propagate too far by @swernli in https://github.com/microsoft/qdk/pull/2700
35+
- Initial QDK Python Package by @ScottCarda-MS in https://github.com/microsoft/qdk/pull/2707
36+
- Extract logical resource counts from a Q# program by @msoeken in https://github.com/microsoft/qdk/pull/2717
37+
- Fix panic in loop unification pass for short-circuiting expressions by @swernli in https://github.com/microsoft/qdk/pull/2723
38+
- Support partial evaluation of `IndexRange` calls by @swernli in https://github.com/microsoft/qdk/pull/2727
39+
40+
**Full Changelog**: <https://github.com/microsoft/qdk/compare/v1.20.0...v1.21.0>
41+
342
## v1.20.0
443

544
Below are some of the highlights for the 1.20 release of the QDK.

source/vscode/src/registry.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"owner": "microsoft",
99
"repo": "qsharp",
1010
"refs": [
11-
{ "ref": "v1.20.0", "notes": "latest stable" },
11+
{ "ref": "v1.21.0", "notes": "latest stable" },
1212
{ "ref": "main", "notes": "nightly, unstable" }
1313
],
1414
"path": "library/chemistry"
@@ -23,7 +23,7 @@
2323
"owner": "microsoft",
2424
"repo": "qsharp",
2525
"refs": [
26-
{ "ref": "v1.20.0", "notes": "latest stable" },
26+
{ "ref": "v1.21.0", "notes": "latest stable" },
2727
{ "ref": "main", "notes": "nightly, unstable" }
2828
],
2929
"path": "library/signed"
@@ -38,7 +38,7 @@
3838
"owner": "microsoft",
3939
"repo": "qsharp",
4040
"refs": [
41-
{ "ref": "v1.20.0", "notes": "latest stable" },
41+
{ "ref": "v1.21.0", "notes": "latest stable" },
4242
{ "ref": "main", "notes": "nightly, unstable" }
4343
],
4444
"path": "library/fixed_point"
@@ -53,7 +53,7 @@
5353
"owner": "microsoft",
5454
"repo": "qsharp",
5555
"refs": [
56-
{ "ref": "v1.20.0", "notes": "latest stable" },
56+
{ "ref": "v1.21.0", "notes": "latest stable" },
5757
{ "ref": "main", "notes": "nightly, unstable" }
5858
],
5959
"path": "library/rotations"
@@ -68,7 +68,7 @@
6868
"owner": "microsoft",
6969
"repo": "qsharp",
7070
"refs": [
71-
{ "ref": "v1.20.0", "notes": "latest stable" },
71+
{ "ref": "v1.21.0", "notes": "latest stable" },
7272
{ "ref": "main", "notes": "nightly, unstable" }
7373
],
7474
"path": "library/qtest"

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99

1010
# To be updated every time we start a new major.minor version.
11-
major_minor = "1.20"
11+
major_minor = "1.21"
1212

1313
root_dir = os.path.dirname(os.path.abspath(__file__))
1414
source_dir = os.path.join(root_dir, "source")

0 commit comments

Comments
 (0)