From 289ae2d2d9bd15407dc01acebdc6786bcd018ae0 Mon Sep 17 00:00:00 2001 From: Fe-r-oz Date: Tue, 19 Nov 2024 01:52:20 +0500 Subject: [PATCH] add reference --- src/nonclifford.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nonclifford.jl b/src/nonclifford.jl index 0829976f1..becb0ba51 100644 --- a/src/nonclifford.jl +++ b/src/nonclifford.jl @@ -251,6 +251,7 @@ function projectrand!(sm::GeneralizedStabilizer, p::PauliOperator) # Implementation of the in-place Pauli measurement quantum operation (Algorithm 2) # on a generalized stabilizer by Ted Yoder (Page 8) from [yoder2012generalization](@cite). if all(x -> x == 0, b) + # (Eq. 14-17) for ((dᵢ, dⱼ), χ) in dict if (im^phase * (-tone)^(dot(dᵢ, c)) == 1) && (im^phase * (-tone)^(dot(dⱼ, c)) == 1) # (Eq. 16) newdict[(dᵢ,dⱼ)] += χ