We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0780f commit ce052c4Copy full SHA for ce052c4
src/TensorNetworkGenerators/ising_network.jl
@@ -12,7 +12,7 @@ function sqrt_ising_bond(β; J = one(β), h = zero(β), deg1::Integer, deg2::Int
12
exp(β * (-J - h1 + h2)) exp(β * (J - h1 - h2));
13
]
14
d, v = eigen(m)
15
- return v * sqrt(Diagonal(d)) * inv(v)
+ return v * √(Diagonal(d)) * inv(v)
16
end
17
18
"""
0 commit comments