Skip to content

Commit 9fc98a3

Browse files
apply_right (#561)
Add `apply_right!` that applies a clifford operator to the right of a dense clifford operator. Add `mul_right!` methods for inplace operations between tableaus
1 parent 09f2172 commit 9fc98a3

File tree

7 files changed

+500
-2
lines changed

7 files changed

+500
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
## v0.10.1-dev
99

10+
- Add `apply_right!` that applies a clifford operator to the right of a dense clifford operator.
11+
- Add `mul_right!` methods for inplace operations between tableaus
1012
- Add a `CliffordOperator` constructor that builds a dense clifford from a `PauliOperator`
1113
- Add a `phases` getter for `CliffordOperator`
1214
- The generalized hypergraph product code is implemented in the ECC submodule.

src/QuantumClifford.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export
4040
# Linear Algebra
4141
tensor, tensor_pow,
4242
logdot, expect,
43-
apply!, apply_inv!,
43+
apply!, apply_inv!, apply_right!,
4444
permutesystems, permutesystems!,
4545
# Low Level Function Interface
4646
generate!, project!, reset_qubits!, traceout!,
@@ -1431,6 +1431,8 @@ include("fastmemlayout.jl")
14311431
include("dense_cliffords.jl")
14321432
# special one- and two- qubit operators
14331433
include("symbolic_cliffords.jl")
1434+
# apply right operations
1435+
include("apply_right.jl")
14341436
# linear algebra and array-like operations
14351437
include("linalg.jl")
14361438
# circuits

0 commit comments

Comments
 (0)