From 47b8d4631c3f64df084c8a5c76edb37ce0eadc9b Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Wed, 30 Oct 2024 18:17:19 -0400 Subject: [PATCH] use explicit imports in ECC (#404) --- CHANGELOG.md | 7 +++---- Project.toml | 2 +- src/ecc/ECC.jl | 15 +++++++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc286752..9c5077104 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Project.toml b/Project.toml index 4d300bc66..83e608beb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "QuantumClifford" uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1" authors = ["Stefan Krastanov and QuantumSavory community members"] -version = "0.9.12" +version = "0.9.13" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/src/ecc/ECC.jl b/src/ecc/ECC.jl index cdda7742e..ff4444694 100644 --- a/src/ecc/ECC.jl +++ b/src/ecc/ECC.jl @@ -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