Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.5 #28

Merged
merged 21 commits into from Nov 1, 2023
Merged

Release 0.2.5 #28

merged 21 commits into from Nov 1, 2023

Conversation

a-barlow
Copy link
Owner

@a-barlow a-barlow commented Nov 1, 2023

See CHANGELOG.md for details.

Update CHANGELOG about missing commits
In the list of imports of the quick start guide, `std::HashMap` was
corrected to `std::collections::HashMap`.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
The information of what was updated in version 0.2.3 and 0.2.4 have been
re-shuffled to correctly detail each update. The original mistake
resulted from an accident in merging branch that weren't updated.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Non-ascii characters cannot guarantee the length and display length to
be equal. Thus, this may cause issue for the printer when displaying the
circuit diagram, that takes this into account.

A warning has been added pointing out this issue, in addition to it
being promoted to a quantr error in the next breaking update.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Added the check item of generating the document without warnings, and a
unit test for displaying a warning when a non-ascii string is used for a
custom function name.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Functions for `Complex<f32>` and `Complex<f64>` have been added to allow
for easier computation of exponetiation purely imaginary number. To be
specific, a function of the form `exp(i*theta)`.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Now all gates listed on cQASM instructions have been accounted for.
Specifically:
 - Rx, Ry, Rz
 - X90, Y90, mX90, mY90
 - CR, and CRk

A new gate that allows for adjusting the global phase of a single qubit.

All tests have been implemented too.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
A new function that now allows the user to attach a custom register, in
terms of a `SuperPosition`.

Two tests added, one to see if it catches error of a superposition with
a wrong product dimension, and the other with a successfully completed
attachment.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
This unchecked function, that doesn't check the conservation of
probability, is used for the standard gate functions. Not availabele to
the user.

Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
Signed-off-by: Andrew Barlow <a.barlow.dev@gmail.com>
@a-barlow a-barlow merged commit 990e300 into master Nov 1, 2023
1 check passed
@a-barlow a-barlow mentioned this pull request Nov 1, 2023
@a-barlow a-barlow deleted the release-0.2.5 branch November 1, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant