diff --git a/CHANGELOG.md b/CHANGELOG.md index f3a0c6ae8..49c09f851 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # News +## v0.6.5 - 2022-12-23 + +- Minor API adjustments in preparation for releasing `BPGates.jl`. + ## v0.6.4 - 2022-12-11 - Move the API declarations to `QuantumInterface.jl`, a mostly namespacing package shared with `QuantumOptics.jl`. diff --git a/Project.toml b/Project.toml index 431637c25..a1a5f650d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "QuantumClifford" uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1" authors = ["Stefan Krastanov "] -version = "0.6.4" +version = "0.6.5" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/src/misc_ops.jl b/src/misc_ops.jl index 5688060fa..cd1b45779 100644 --- a/src/misc_ops.jl +++ b/src/misc_ops.jl @@ -24,6 +24,8 @@ struct SparseGate{T<:Tableau} <: AbstractCliffordOperator # TODO simplify type p indices::Vector{Int} end +SparseGate(c,t::Tuple) = SparseGate(c,collect(t)) + function apply!(state::AbstractStabilizer, g::SparseGate; kwargs...) apply!(state, g.cliff, g.indices; kwargs...) end