Release notes¶
This page contains the release notes for XIR.
Release 0.2.2 (current release)¶
Bug Fixes¶
Documentation¶
The centralized Xanadu Sphinx Theme is now used to style the Sphinx documentation. (#20)
Contributors¶
This release contains contributions from (in alphabetical order):
Release 0.2.1¶
Release 0.2.0¶
Improvements¶
A pair of GitHub Actions workflows have been added to generate pull requests for pre-release and post-release version bumps, respectively. (#12)
Bug Fixes¶
The license file is included in the source distribution, even when using
setuptools <56.0.0
. (#11)
Contributors¶
This release contains contributions from (in alphabetical order):
Release 0.1.1¶
New features since last release¶
A
constants
block has been added to support declaring script-level constants which can be used as parameters in statements. (#7)constants: p0: [3.141592653589793, 4.71238898038469, 0]; p1: [1, 0.5, 3.141592653589793]; p2: [0, 0, 0]; end; Sgate(0.123, 4.5) | [2]; BSgate(p0, 0.0) | [1, 2]; Rgate(p1) | [2]; MeasureHomodyne(phi: p0) | [0];
Improvements¶
The maximum wire value used in a statement within a definition will be the number of wires declared. For example, if a single statement within a definition is applied to wire 4, then the declared wires will be 0, 1, 2, 3, and 4. (#2)
xir.Validator
now also checks that parameters used in definitions are not declared constants. (#7)The XIR package is now automatically uploaded to PyPI when a new release is published on GitHub. (#9)
Bug Fixes¶
Wires are implicitly added to an observable if they are not explicitly declared. (#2)
Validation now checks that applied wires is a subset of declared wires. (#2)
decimal.Decimal
andDecimalComplex
objects in nested lists and dictionaries are correctly converted tofloat
andcomplex
respectively when extracted. (#7)
Contributors¶
This release contains contributions from (in alphabetical order):
Release 0.1.0¶
New features since last release¶
This is the initial public release.
Contributors¶
This release contains contributions from (in alphabetical order):
Mikhail Andrenkov, Tom Bromley, Ant Hayes, Theodor Isacsson, Josh Izaac, Nathan Killoran, Antal Száva.