Skip to content

Commit

Permalink
bump project version and test fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed Apr 12, 2024
1 parent 7296b36 commit 052a503
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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.3"
version = "0.10.0"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down
2 changes: 1 addition & 1 deletion test/test_nonclifford.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end
apply!(state, tgate)
apply!(state, tgate)

@test state.destabweights |> values |> collect == [1]
@test state.destabweights |> values |> collect [1]
@test state.destabweights |> keys |> collect == [([1],[1])]
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_nonclifford_quantumoptics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ for n in 1:5
ket = qo_bigtgate*ket
apply!(genstab, bigtgate)
@test dm(ket) Operator(genstab)
@test isapprox(expect(qo_pauli, ket), expect(pauli, genstab); atol=1e-10)
@test isapprox(expect(qo_pauli, ket), expect(pauli, genstab); atol=1e-5)
end
end

0 comments on commit 052a503

Please sign in to comment.