Skip to content

Commit 6ed325d

Browse files
Add missing express_nolookup for HGate → sHadamard under CliffordRepr (#174)
Co-authored-by: Stefan Krastanov <github.acc@krastanov.org> Co-authored-by: Stefan Krastanov <stefan@krastanov.org>
1 parent a10e1a1 commit 6ed325d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# News
22

3+
## v0.4.13 - 2026-03-03
4+
5+
- The H gate was missing a `CliffordRepr` `express`
6+
37
## v0.4.12 - 2026-02-06
48

59
- Add Gabs extension for numerical translations of symbolic Gaussian states and operators.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "QuantumSymbolics"
22
uuid = "efa7fd63-0460-4890-beb7-be1bbdfbaeae"
33
authors = ["QuantumSymbolics.jl contributors"]
4-
version = "0.4.12"
4+
version = "0.4.13"
55

66
[workspace]
77
projects = ["benchmark", "docs"]

ext/QuantumCliffordExt/QuantumCliffordExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ end
4747
express_nolookup(::XGate, ::CliffordRepr, ::UseAsOperation) = QuantumClifford.sX
4848
express_nolookup(::YGate, ::CliffordRepr, ::UseAsOperation) = QuantumClifford.sY
4949
express_nolookup(::ZGate, ::CliffordRepr, ::UseAsOperation) = QuantumClifford.sZ
50+
express_nolookup(::HGate, ::CliffordRepr, ::UseAsOperation) = QuantumClifford.sHadamard
5051
express_nolookup(x::STensorOperator, r::CliffordRepr, u::UseAsOperation) = QCGateSequence([express(t,r,u) for t in x.terms])
5152

5253
express_nolookup(op::QuantumClifford.PauliOperator, ::CliffordRepr, ::UseAsObservable) = op

0 commit comments

Comments
 (0)