diff --git a/docs/src/index.md b/docs/src/index.md index ee0fdd7..662052c 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -65,7 +65,7 @@ All of these methods would require a Monte Carlo Quantum Trajectories simulation ## Short Example -You can initialize a Bell State by specifing the phases and convert it to stabilizer representation. +You can initialize a Bell State by specifying the phases and convert it to stabilizer representation. ``` julia> bell_state = BellState([0,1,1,0]) BellState(Bool[0, 1, 1, 0]) diff --git a/src/BPGates.jl b/src/BPGates.jl index 3231a54..facaaec 100644 --- a/src/BPGates.jl +++ b/src/BPGates.jl @@ -158,7 +158,7 @@ end """ Coincidence measurement on Bell pairs. -The first argument, `midx`, spefies the X, Y, Z basis respectively. +The first argument, `midx`, specifies the X, Y, Z basis respectively. The second argument, `sidx`, indicates which Bell pair is being measured. The state will be reset to `00` after being applied measurement. @@ -371,7 +371,7 @@ end # Typically good operations ############################## -"""A bilateral CNOT preceeded by permutations on each of the pairs that map the `00` state to itself.""" +"""A bilateral CNOT preceded by permutations on each of the pairs that map the `00` state to itself.""" struct CNOTPerm <: BellOp single1::Int single2::Int @@ -611,7 +611,7 @@ end ############################## """ -Convert a Bell perserving gate from `BPGates` representation to a sequence of Clifford gate from `QuantumClifford`. +Convert a Bell preserving gate from `BPGates` representation to a sequence of Clifford gate from `QuantumClifford`. Translating [`BellMeasure`](@ref) is not precise, because a real Bell measurement would destroy the Bell pair,