Pyqir

Latest version: v0.10.0

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

Scan your dependencies

Page 1 of 4

0.10.0

Notes

* Breaking change: correct attributes are now emitted for number of qubits and results.
* Attribute iteration has been added to enable easier base profile compliance.
* Manylinux compliance has been relaxed due to maintenance burden. The new target is `manylinux_2_31`
* Minimum Python version is now 3.8 as the older versions are EOL.

What's Changed
* Spec compliance: change num_required_* to required_num_* by bmhowe23 in https://github.com/qir-alliance/pyqir/pull/251
* Update version to 0.10.0 by idavis in https://github.com/qir-alliance/pyqir/pull/254
* Removing serial_test by idavis in https://github.com/qir-alliance/pyqir/pull/255
* Update attr fallback order to support legacy processing. by idavis in https://github.com/qir-alliance/pyqir/pull/257
* Set python 3.8 as min. Remove manylinux container build. by idavis in https://github.com/qir-alliance/pyqir/pull/256
* Cache CL args for inner build by idavis in https://github.com/qir-alliance/pyqir/pull/253
* Adding ability to access and iterate over function attributes. by idavis in https://github.com/qir-alliance/pyqir/pull/259

New Contributors
* bmhowe23 made their first contribution in https://github.com/qir-alliance/pyqir/pull/251

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.9.0...v0.10.0

0.9.0

What's Changed
* Fix lint: update println! to new syntax by sezna in https://github.com/qir-alliance/pyqir/pull/243
* Bump maturin version by sezna in https://github.com/qir-alliance/pyqir/pull/244
* Adding python 3.11 and fixing group collision issue in CI by idavis in https://github.com/qir-alliance/pyqir/pull/249
* Update CODEOWNERS by idavis in https://github.com/qir-alliance/pyqir/pull/248
* Add Custom Attributes in the Python API by sezna in https://github.com/qir-alliance/pyqir/pull/246
* Make enums hashable by sezna in https://github.com/qir-alliance/pyqir/pull/245

New Contributors
* sezna made their first contribution in https://github.com/qir-alliance/pyqir/pull/243

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.8.2...v0.9.0

0.8.2

What's Changed
* Add missing link text for anchor link by qartik in https://github.com/qir-alliance/pyqir/pull/235
* Updating to 0.8.2 by idavis in https://github.com/qir-alliance/pyqir/pull/239
* extract_byte_string will return none when reading i8* null byte strings. by idavis in https://github.com/qir-alliance/pyqir/pull/238

New Contributors
* qartik made their first contribution in https://github.com/qir-alliance/pyqir/pull/235

**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.8.1...v0.8.2

0.8.1

What's Changed
* Updating version to 0.8.1 by idavis in https://github.com/qir-alliance/pyqir/pull/234
* Adding LLVM value equality and hash implementation. by idavis in https://github.com/qir-alliance/pyqir/pull/232


**Full Changelog**: https://github.com/qir-alliance/pyqir/compare/v0.8.0...v0.8.1

0.8.0

What's Changed
* Update example in PyQIR readme by samarsha in https://github.com/qir-alliance/pyqir/pull/227
* LLVM Build Caching by idavis in https://github.com/qir-alliance/pyqir/pull/225
* Add API for required module metadata by idavis in https://github.com/qir-alliance/pyqir/pull/226
* Updating version number to 0.8.0 by idavis in https://github.com/qir-alliance/pyqir/pull/231


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

0.8.0a1

> - LLVM 14 is now the default target.
> - QIR evaluation has been removed. Simulation of QIR is now available via the [`qir-runner`](https://github.com/qir-alliance/qir-runner) sparse simulator.
> - `BasicQisBuilder` is now written in Python.
> - All QIS instructions are available in the `pyqir.qis` submodule
> - `barrier`, `ccx`, `cx`, `cz`, `h`, `if_result`, `mz`, `reset`, `rx`, `ry`, `rz`, `s`, `s_adj`, `swap`, `t`, `t_adj`, `x`, `y`, `z`
> - Of these,`barrier`, `ccx`, and `swap` are new.
> - PyQIR can generate QIR compatible with the QIR base profile preliminary spec
> - Module flags can now be generated
> - Attributes on functions can now be added and queried.
> - RT instructions are available in the `pyqir.rt` submodule
> - Output recording functions are now built-in: `array_record_output`, `result_record_output`, and `tuple_record_output`
> - Execution environment call, `initialize`, is now built-in
> - `EntryPoint` attribute is now `entry_point`
> - `requiredQubits` attribute is now `num_required_qubits`
> - `requiredResults` attribute is now `num_required_results`
> - `__quantum__qis__mz__body` signature has been updated. Its result parameter is now marked `writeonly` and the function call now has the `irreversible` attribute:
> before:
> `declare void __quantum__qis__mz__body(%Qubit*, %Result*) 1`
> after:
> `declare void __quantum__qis__mz__body(%Qubit*, %Result* writeonly) 1`
> `attributes 1 = { "irreversible" }`

Technical Changes
- Inkwell has been removed as a dependency. Qirlib now uses LLVM-SYS and a custom wrapper around the LLVM C++ APIs.

What's Changed
* Bump version to 0.8.0a1 by samarsha in https://github.com/qir-alliance/pyqir/pull/213
* Fix warning in anltr example installation by idavis in https://github.com/qir-alliance/pyqir/pull/214
* Remove Inkwell by samarsha in https://github.com/qir-alliance/pyqir/pull/216
* Fix Module.bitcode() use-after-free by samarsha in https://github.com/qir-alliance/pyqir/pull/219
* Fix typechecking with mypy>=0.990 by samarsha in https://github.com/qir-alliance/pyqir/pull/218
* Removing evaluator by idavis in https://github.com/qir-alliance/pyqir/pull/220
* Changing build to target LLVM 14 by idavis in https://github.com/qir-alliance/pyqir/pull/222
* Adding QIS and RT functions by idavis in https://github.com/qir-alliance/pyqir/pull/221
* Adding param, module, and function metadata by idavis in https://github.com/qir-alliance/pyqir/pull/223


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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.