Pyqir

Latest version: v0.10.6

Safety actively analyzes 688087 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.4.1a1

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.4.0a1...v0.4.1a1

0.4.0a1

Breaking Changes

PR [106](https://github.com/qir-alliance/pyqir/pull/106) changes the default way `Result`s are emitted in emitted QIR.

The previous approach used `call %Result* __quantum__qis__m__body(%Qubit* null)` for measurement saving to a `Result` variable. Along with this, branching used `__quantum__rt__result_equal(%Result*, %Result*)` along with `__quantum__rt__result_get_zero` and `__quantum__rt__result_get_one`
to perform branching.

The new default usage in `0.4.0a1` uses static `Result` identifiers instead of dynamic `Result` values. With that, measurement now uses `"call void __quantum__qis__mz__body(%Qubit*, %Result*)` which accepts the static `Result` identifier. As a result, the `pyqir-evaluator` can now see which `Result` is being written to. Branching has also changed to use `call i1 __quantum__qir__read_result(%Result*)` which returns the boolean value of the `Result`.

For the `pyqir-generator`, the use of static and dynamic `Qubit` and `Result` can now be
configured via two new methods on the `SimpleModule` class:

- `use_static_qubit_alloc(bool)`
- `use_static_result_alloc(bool)`

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.3.2a1...v0.4.0a1

0.3.2a1

What's Changed

This package replaces all existing wheel distributions due to packaging issues in earlier prereleases.

* Add licensing checks and notice file by idavis in https://github.com/qir-alliance/pyqir/pull/94
* Updating version to 0.3.2a1 by idavis in https://github.com/qir-alliance/pyqir/pull/95
* Lock wheel package dependencies by idavis in https://github.com/qir-alliance/pyqir/pull/96


**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.3.1a1...v0.3.2a1

0.3.1a1

What's Changed
* Correct a few more typos and update docs by LaurentAjdnik in https://github.com/qir-alliance/pyqir/pull/86
* Support external functions in generator by samarsha in https://github.com/qir-alliance/pyqir/pull/76
* Improve error handling for invalid external function calls by samarsha in https://github.com/qir-alliance/pyqir/pull/89
* Update PyPI package metadata by idavis in https://github.com/qir-alliance/pyqir/pull/87
* Create pyqir metapackage for PyPI by idavis in https://github.com/qir-alliance/pyqir/pull/90
* Fix issue template paths by idavis in https://github.com/qir-alliance/pyqir/pull/91
* Prepare for 0.3.1 release by idavis in https://github.com/qir-alliance/pyqir/pull/93


**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.3.0a1...v0.3.1a1

0.3.0a1

What's Changed

* Adding issue template for bugs, feature requests, and GitHub releases by bettinaheim in https://github.com/qir-alliance/pyqir/pull/66
* Qirlib code consolidation by idavis in https://github.com/qir-alliance/pyqir/pull/71
* Update _parser.py docs by LaurentAjdnik in https://github.com/qir-alliance/pyqir/pull/72
* Rename `Ref` to `ResultRef` by samarsha in https://github.com/qir-alliance/pyqir/pull/78
* Wheel/Project Renames by idavis in https://github.com/qir-alliance/pyqir/pull/79
* Moving LLVM build downloads to GitHub PyQIR releases by idavis in https://github.com/qir-alliance/pyqir/pull/83
* Cleaning up docs before publishing by idavis in https://github.com/qir-alliance/pyqir/pull/84
* Cleaning up docs before publishing by swernli in https://github.com/qir-alliance/pyqir/pull/85

New Contributors

* bettinaheim made their first contribution in https://github.com/qir-alliance/pyqir/pull/66
* LaurentAjdnik made their first contribution in https://github.com/qir-alliance/pyqir/pull/72

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.2.0a1...v0.3.0a1

0.2.0a1

What's Changed
* Cache properties as member variables by swernli in https://github.com/qir-alliance/pyqir/pull/41
* Update development docs by guenp in https://github.com/qir-alliance/pyqir/pull/40
* Moving to minimal API by idavis in https://github.com/qir-alliance/pyqir/pull/46
* Reduce false positives in spellcheck passes. by cgranade in https://github.com/qir-alliance/pyqir/pull/49
* Removing old limitation list from docs by idavis in https://github.com/qir-alliance/pyqir/pull/51
* PyQIR generator API redesign with classical if statement by samarsha in https://github.com/qir-alliance/pyqir/pull/43
* Export package API from `__init__.py` and hide submodules by samarsha in https://github.com/qir-alliance/pyqir/pull/58
* Update changelog for release by idavis in https://github.com/qir-alliance/pyqir/pull/67

New Contributors
* swernli made their first contribution in https://github.com/qir-alliance/pyqir/pull/41
* guenp made their first contribution in https://github.com/qir-alliance/pyqir/pull/40

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.1.1a1...v0.2.0a1

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.