Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed Jun 22, 2023
1 parent 9766a9a commit 320c7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/ecc_example_sim.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you want to model Pauli errors, use:

```@example 1
errprob = 0.1
errors = [PauliError(i,errprob) for i in 1:dataqubits]
errors = [PauliError(i,errprob) for i in 1:code_n(code)]
fullcircuit = [ecirc..., errors..., scirc...]
```

Expand Down
2 changes: 1 addition & 1 deletion src/mctrajectory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end

"""Run multiple Monte Carlo trajectories and report the aggregate final statuses of each.
See also: [`pftrajectories`](@ref), [`petrajectories`](@ref)`]"""
See also: [`pftrajectories`](@ref), `petrajectories`"""
function mctrajectories(initialstate,circuit;trajectories=500)
counts = countmap([mctrajectory!(copy(initialstate),circuit)[2] for i in 1:trajectories]) # TODO use threads or at least a generator, but without breaking Polyester
return counts
Expand Down

0 comments on commit 320c7f0

Please sign in to comment.