Skip to content

Commit

Permalink
Prep 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed Jan 27, 2022
1 parent 9292333 commit ea1c94c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# News

## In development - v0.4.0
## v0.4.0

- Permit whitespace separators in the `S` string macro.
- **(breaking)** `project!` now returns `anticom_index=rank` instead of `anticom_index=0` in the case of projection operator commuting with all stabilizer rows but not in the stabilizer group. If your code previously had `anticom_index!=0` checks, now you might want to use `anticom_index!=0 && anticom_index!=rank`. Conversely, treating projective measurements in general code is now much simpler.
- **(fix `#31` `b86b30e2`)** Dependent on the above, a bug fix to `Experimental.DenseMeasurement` when the measurement operator commutes with but is not in the stabilizer.
- A new `expect` function to find the expectation value of a Pauli measurement for a given stabilizer; simpler to use compared to `project!`.
- **(fix `#28` `9292333a`)** Fix a rare bug in `reset_qubits!(::MixedDestabilizer)`.

## v0.3.0

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "QuantumClifford"
uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1"
authors = ["Stefan Krastanov <stefan@krastanov.org>"]
version = "0.4.0-dev"
version = "0.4.0"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down

2 comments on commit ea1c94c

@Krastanov
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release Notes:

  • Permit whitespace separators in the S string macro.
  • (breaking) project! now returns anticom_index=rank instead of anticom_index=0 in the case of projection operator commuting with all stabilizer rows but not in the stabilizer group. If your code previously had anticom_index!=0 checks, now you might want to use anticom_index!=0 && anticom_index!=rank. Conversely, treating projective measurements in general code is now much simpler.
  • (fix #31 b86b30e2) Dependent on the above, a bug fix to Experimental.DenseMeasurement when the measurement operator commutes with but is not in the stabilizer.
  • A new expect function to find the expectation value of a Pauli measurement for a given stabilizer; simpler to use compared to project!.
  • (fix #28 9292333a) Fix a rare bug in reset_qubits!(::MixedDestabilizer).

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53313

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" ea1c94c8c110037fe0fb60e1ae126ede8bdfe1fc
git push origin v0.4.0

Please sign in to comment.