You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Julia function for generating a multi-site operator ``\\hat{O} = \\hat{O}_i \\hat{O}_j \\cdots \\hat{O}_k``. The function takes a vector of dimensions `dims` and a list of pairs `pairs` where the first element of the pair is the site index and the second element is the operator acting on that site.
21
21
@@ -28,7 +28,7 @@ A Julia function for generating a multi-site operator ``\\hat{O} = \\hat{O}_i \\
28
28
29
29
# Example
30
30
```jldoctest
31
-
julia> op = MultiSiteOperator(Val(8), 5=>sigmax(), 7=>sigmaz());
31
+
julia> op = multisite_operator(Val(8), 5=>sigmax(), 7=>sigmaz());
32
32
33
33
julia> op.dims
34
34
8-element SVector{8, Int64} with indices SOneTo(8):
0 commit comments