Skip to content

Commit

Permalink
use explicit imports in ECC (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov authored Oct 30, 2024
1 parent f3eb7cd commit 47b8d46
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@

# News

## v0.9.13 - dev
## v0.9.13 - 2024-10-30

- New error correction group theory tools:
- New error-correction group theory tools:
- `canonicalize_noncomm` function to find a generating set with minimal anticommutivity
- `SubsystemCodeTableau` data structure to represent the output of `canonicalize_noncomm`
- `commutify` function to find a commutative version of a non-commutative set of Paulis with minimal changes
- `matroid_parent` to, for set of Paulis that doesn't represent a state, find a version
that does.
- Implementing additional named two-qubit gates: `sSWAPCX, sInvSWAPCX, sCZSWAP, sCXSWAP, sISWAP, sInvISWAP,
sSQRTZZ, sInvSQRTZZ`
- Implementing additional named two-qubit gates: `sSWAPCX, sInvSWAPCX, sCZSWAP, sCXSWAP, sISWAP, sInvISWAP, sSQRTZZ, sInvSQRTZZ`

## v0.9.12 - 2024-10-18

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> and QuantumSavory community members"]
version = "0.9.12"
version = "0.9.13"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down
15 changes: 11 additions & 4 deletions src/ecc/ECC.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
module ECC

using LinearAlgebra
using LinearAlgebra: I
using QuantumClifford
using QuantumClifford: AbstractOperation, AbstractStabilizer, Stabilizer
using LinearAlgebra: LinearAlgebra, I, rank, tr
using QuantumClifford: QuantumClifford, AbstractOperation, AbstractStabilizer,
AbstractTwoQubitOperator, Stabilizer, PauliOperator,
random_brickwork_clifford_circuit, random_all_to_all_clifford_circuit,
canonicalize!, canonicalize_gott!,
logicalxview, logicalzview, stabilizerview, destabilizerview, tab, phases,
sCNOT, sSWAP, sHadamard, sPhase, sInvPhase,
sZCX, sZCY, sZCZ, sXCX, sXCY, sXCZ, sYCX, sYCY, sYCZ, sZ, sX, sY, sMRZ, sMRX,
single_x, single_y, single_z, random_pauli!, PauliError,
apply!, comm, comm!, stab_to_gf2, embed, @S_str, affectedqubits, affectedbits,
pftrajectories, pfmeasurements, mctrajectories
import QuantumClifford: Stabilizer, MixedDestabilizer, nqubits
using DocStringExtensions
using Combinatorics: combinations
Expand Down

2 comments on commit 47b8d46

@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
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/118408

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.9.13 -m "<description of version>" 47b8d4631c3f64df084c8a5c76edb37ce0eadc9b
git push origin v0.9.13

Please sign in to comment.