Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang committed Jan 27, 2025
1 parent 2dd7815 commit 94eaf43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qobj/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ julia> expect(Hermitian(a' * a), ψ1) |> round
julia> round.(expect([a' * a, a' + a, a], [ψ1, ψ2]), digits = 1)
3×2 Matrix{ComplexF64}:
3.0+0.0im 1.0-0.0im
3.0+0.0im 1.0+0.0im
0.0+0.0im 1.2-0.0im
0.0+0.0im 0.6+0.8im
```
Expand Down

0 comments on commit 94eaf43

Please sign in to comment.