Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov authored Dec 16, 2023
1 parent c032368 commit c9d0ab5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
6 changes: 3 additions & 3 deletions src/BPGates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c9d0ab5

Please sign in to comment.