|
1 | 1 | # QDK Changelog
|
2 | 2 |
|
| 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 | + |
3 | 42 | ## v1.20.0
|
4 | 43 |
|
5 | 44 | Below are some of the highlights for the 1.20 release of the QDK.
|
|
0 commit comments