You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/QuantumClifford.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1381,7 +1381,7 @@ function LinearAlgebra.inv(c::CliffordOperator; phases=true)
1381
1381
end
1382
1382
end
1383
1383
if phases
1384
-
ci*c*ci #TODOcan this be skipped
1384
+
ci*c*ci #TODOperform this inplace as in Stim https://github.com/quantumlib/Stim/blob/e51ea66d213b25920e72c08e53266ec56fd14db4/src/stim/stabilizers/tableau.cc#L383
Copy file name to clipboardExpand all lines: src/symbolic_cliffords.jl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ abstract type AbstractSymbolicOperator <: AbstractCliffordOperator end
4
4
abstract type AbstractSingleQubitOperator <:AbstractSymbolicOperatorend
5
5
abstract type AbstractTwoQubitOperator <:AbstractSymbolicOperatorend
6
6
7
+
# Stim has a good list of specialized single and two qubit operations at https://github.com/quantumlib/Stim/blob/e51ea66d213b25920e72c08e53266ec56fd14db4/src/stim/stabilizers/tableau_specialized_prepend.cc
8
+
# Note that their specialized operations are for prepends (right multiplications), while we implement append (left multiplication) operations.
9
+
7
10
"""A "symbolic" Hadamard operator which permits faster multiplication than an operator expressed as an explicit tableau.
0 commit comments