Skip to content

Commit

Permalink
since invsparsity is private, fix the doctest errors using QuantumCli…
Browse files Browse the repository at this point in the history
…fford.invsparsity
  • Loading branch information
Fe-r-oz committed Nov 6, 2024
1 parent b4f839c commit 80e9981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nonclifford.jl
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
with ϕᵢⱼ | Pᵢ | Pⱼ:
1.0+0.0im | + _ | + _
julia> apply!(sm, pcT) |> invsparsity
julia> apply!(sm, pcT) |> QuantumClifford.invsparsity
4
```
Expand All @@ -447,7 +447,7 @@ matrix `ϕᵢⱼ`​ of a PauliChannel, providing a measure of the channel
complexity.
```jldoctest
julia> invsparsity(pcT)
julia> QuantumClifford.invsparsity(pcT)
4
```
Expand Down

0 comments on commit 80e9981

Please sign in to comment.