Skip to content

Commit

Permalink
FIx error on Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
albertomercurio committed Sep 8, 2024
1 parent 15717a0 commit 3be1f68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/users_guide/QuantumObject/QuantumObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Qobj(rand(4, 4))
```

```@example Qobj
M = rand(ComplexF64, 4, 4)
Qobj(M, dims = [2, 2]) # dims as Vector
Qobj(M, dims = (2, 2)) # dims as Tuple (recommended)
Qobj(M, dims = SVector(2, 2)) # dims as StaticArrays.SVector (recommended)
Expand Down

0 comments on commit 3be1f68

Please sign in to comment.