Boltzmann Machine and QMP
Boltzmann Machine and QMP
Boltzmann Machine and QMP
problems
Yusuke Nomura
Department of Applied Physics and Physico-Informatics, Keio University, 3-14-1
Hiyoshi, Kohoku-ku, Yokohama, 223-8522, Japan
arXiv:2306.16877v3 [cond-mat.str-el] 1 Nov 2023
E-mail: nomura@appi.keio.ac.jp
January 2023
network methods are being applied to the analysis of (a) (c) d1 d2 … dM 0 deep layer
unsolved problems, such as the physics of frustrated hidden layer
quantum spin systems [16, 17] (note that the sign h1 h2 h3 … hM
by introducing an exponentially large number of where ψ(x) is quantum many-body wave function.
hidden spins (M ∼ 2N ) comparable to the number of As seen in the previous section (Sec. 2), Boltzmann
visible spin configuration patterns 2N [53, 54]. machines give a probability (positive real number) p̃(v)
for a visible spin configuration v. On the other hand,
2.2. Deep Boltzmann machines the amplitude of quantum many-body wave function
ψ(x) can be negative or complex in general.
The DBM has an additional hidden layer compared Therefore, we can apply Boltzmann machines
to the RBM [Fig. 1(c)]. The structure with two to quantum state representations by satisfying the
hidden layers is general, encompassing structures following conditions:
with an arbitrary number of hidden layers with only
neighboring interlayer couplings [Fig. 1(d)]. In this (i) One-to-one correspondence between the configura-
paper, the two hidden layers are referred to as the tion of physical degrees of freedom x and visible-
hidden layer and the deep layer for the sake of spin configuration v.
distinction. In the case of DBM, the artificial energy (ii) Extension to complex amplitude.
E(v, h, d) with respect to the spin configurations v = (iii) (For fermion systems) Incorporation of fermionic
(v1 , . . . , vN ), h = (h1 , . . . , hM ), and d = (d1 , . . . , dM ′ ) anti-commutation relations.
reads
X X X For condition (i), one needs to define the mapping
E(v, h, d) = − ai vi − bj hj − b′k dk depending on the nature of the physical degrees of
i j k freedom. For S = 1/2 quantum spin systems, the most
X X
′ natural mapping between x and v is to identify the z
− Wij vi hj − Wjk hj dk . (5)
i,j j,k component of i-th quantum spin σiz with vi .
Condition (ii) can be satisfied, e.g., by extending
In addition to the parameters in the RBM, the DBM
the parameters of Boltzmann machines to complex
has parameters for the magnetic field on the deep spins
variables or by decomposing the wave function as
b′k and the interaction between the hidden and deep
′ ψ(x) = |ψ(x)|eiϕ(x) and expressing |ψ(x)| and ϕ(x)
spins Wjk . As with the RBM, using the partition
P −E(v,h,d)
using independent Boltzmann machines with real
function Z = v,h,d e and the Boltzmann parameters. For example, when approximating the
−E(v,h,d)
weight p(v, h, d) = e Z , the marginal probability quantum states of the one-dimensional Heisenberg
distribution p̃(v) is given by model by the RBM, the former appears to perform
X X better [55]. We note however that, for other general
p̃(v) = p(v, h, d) p̃(v) = 1 . (6) Hamiltonians, it is unclear whether the former is
h,d v
always better. Hereafter, we will focus on the former
Compared to the RBM, the DBM has the advantage of approach.
having deep degrees of freedom, which greatly improves For condition (iii), for example, one can take
the ability to represent the probability distribution, an approach to make the wave function itself anti-
but since there is no efficient analytical formula for symmetric. Alternatively, one can consider an
p̃(v) ‡, numerical methods such as the Monte Carlo approach that maps fermionic systems into spin
method are required to obtain the p̃(v) value. systems using, e.g., Jordan-Wigner [56] or Bravyi-
Kitaev [57] transformations. This issue will be
3. Wave function based on Boltzmann discussed in more detail in Sec. 4.3.1.
machines
3.2. Property of Boltzmann machine wave functions
3.1. Application of Boltzmann machines to quantum and comparison to tensor networks
state representation
Here, we discuss several properties of Boltzmann ma-
Here, we introduce how Boltzmann machines can be chine wave functions using S = 1/2 quantum spin sys-
used to represent quantum states. A quantum state tems. By (i) identifying σiz with vi and (ii) extend-
|ψ⟩ can be expanded using a certain basis {|x⟩} as ing the parameters to complex variables, Boltzmann
|ψ⟩ =
X
|x⟩ψ(x), (7) machines can be applied to the representation of the
x
quantum states of quantum spin systems (Fig. 2). In
this case, the amplitude of the RBM wave function for
‡ Either hidden or deep spin degrees of freedom can be traced a spin configuration σ = (σiz , . . . σN
z
) is given by
out analytically, but tracing out spins of one layer will introduce X
X X X
effective interactions between the spins of the other layer. This
ψ(σ) = exp ai σiz + Wij σiz hj + bj hj
makes it difficult to analytically trace out the spin degrees of
freedom of the other layer. h i i,j j
sha1_base64="PPh9wTd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8GMcrvPY5pzGIOWe5r4QinOAs9Kz1KvzJQTVVCNU43vpky8gH27o4p</latexit>
<latexit
1
ψ(σ) =
z
sha1_base64="O658+vz8yxBpRqpEF2TAnrGhDvI=">AAACZnichVFNS8NAEH2N3/WrKqLgpVgqnspURKsHKXjxqK1VoZaSxLUNpklI0kIt/gHBqz14UhARf4YX/4CH/gPFo4IXD07SiIhUZ9md2bfzZt7uKpauOS5RKyR1dff09vUPhAeHhkdGI2PjO45ZtVWRU03dtPcU2RG6Zoicq7m62LNsIVcUXewqR+ve+W5N2I5mGttu3RKFilwytENNlV2GsuXiQjESo8TKyhItp6K/g2SCfIshsE0zcoN9HMCEiioqEDDgcqxDhsMjjyQIFmMFNBizOdL8c4EThJlb5SzBGTKjR7yWeJcPUIP3Xk3HZ6vcRedpMzOKOD3SLb3SA93RM310rNXwa3ha6uyVNldYxdHT6ez7v6wKexflb9afml0cIuVr1Vi75SPeLdQ2v3bcfM2uZuKNObqiF9Z/SS265xsYtTf1ektkLhDmD/h65WjnYGchkVxKLG4txtJrwVf0YwazmOf3XkYaG9hEjvuWcIZzNENP0og0KU21U6VQwJnAD5Oinyg+iwc=</latexit>
<latexit
Figure 2.
sha1_base64="YXY1Mn7R932DLGnwqu//yGSj0T4=">AAACbXichVHJSgNBEH0Z97gkKoKgSDC4nEIlBDUeJODFo1tU3MLM2MbG2ZiZBDT4A54FD6KgICJ+hhd/wIOfIB48KHjxYGUSERG1mu6qfl2v6nW35hjS84keQkpdfUNjU3NLuLWtvSMS7exa8uyiq4ucbhu2u6KpnjCkJXK+9A2x4rhCNTVDLGu705Xz5ZJwPWlbi/6eIzZMtWDJbamrPkOr654smGo+tbmfj8YpkcmM0fhE7GeQTFBgcdRs1o5eYR1bsKGjCBMCFnyODajweKwhCYLD2AbKjLkcyeBc4ABh5hY5S3CGyugurwXerdVQi/eVml7A1rmLwdNlZgxDdE/X9EJ3dEOP9P5rrXJQo6Jlj71W5QonHznsXXj7l2Wy97HzxfpTs49tTARaJWt3AqRyC73KL+0fvyxMzg+Vh+mCnlj/OT3QLd/AKr3ql3Ni/gRh/oDPV479HiylEsmxRHouHc9O1b6iGX0YxCi/9ziymMEsctzXwhFOcRZ6VnqUfmWgmqqEapxufDNl5AP48I4q</latexit>
<latexit
h2
h,d
= exp
X
2
z
function reads
i
sha1_base64="OCCPdF6c24s87PZFEbHNlkkJ+wM=">AAACZnichVE9SwNBEH05v2L8iooo2ARDxCpMNOTDQgQbS5MYFVTC3blJDi93x90lEIN/QLA1hZWCiPgzbPwDFv4DxVLBxsLJJSIi0Vl2Z/btvJm3u4qla45L9OiTenr7+gf8g4Gh4ZHRseD4xJZjVm1V5FVTN+0dRXaErhki72quLnYsW8gVRRfbyuFa63y7JmxHM41Nt26J/YpcMrSipsouQ7lyYakQDFM0nU5QMhX6HcSi5FkYHdswg9fYwwFMqKiiAgEDLsc6ZDg8dhEDwWJsHw3GbI4071zgGAHmVjlLcIbM6CGvJd7tdlCD962ajsdWuYvO02ZmCBF6oBt6pXu6pWf66Fqr4dVoaamzV9pcYRXGTmZy7/+yKuxdlL9Zf2p2UUTK06qxdstDWrdQ2/zaUfM1t5yNNObpkl5Y/wU90h3fwKi9qVcZkT1HgD/g65VD3YOtxWgsEY1n4uHVlc5X+DGLOSzweyexinVsIM99SzjFGZq+J2lUmpKm26mSr8OZxA+TQp8qPosI</latexit>
<latexit
exp
X
h3
…
sha1_base64="9G/AsRCmW+TzN7XDsaqR5bfgoK4=">AAACcXichVHJSgNBEH0Z97gk6kXxEg2KIISKhLgcRPDiSdwSBaNhZmxj42zMTAIa/AF/QMFTAiLiZ3jxBzz4CeIxghcPViYREYlW013Vr+tVve7WHEN6PtFzSGlr7+js6u4J9/b1D0Sig0NZzy66usjotmG7u5rqCUNaIuNL3xC7jitUUzPEjnayUj/fKQnXk7a17Z86Yt9UC5Y8krrqM3SQ82TBVPPl3Pja+cFZPhqnxMJCmubmY7+DZIICi6Np63b0FjkcwoaOIkwIWPA5NqDC47GHJAgOY/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qyKmmbtp5RXaErhki52quLvKWLeSqootdpbLWOd+tC9vRTGPbbVhivyqXDO1QU2WXoWy5GCuGIhRNpxOUTIV/BrEoeRZBzzbM0A32cAATKmqoQsCAy7EOGQ6PAmIgWIzto8mYzZHmnQscI8DcGmcJzpAZrfBa4l2hhxq879R0PLbKXXSeNjPDWKBHuqU2PdAdPdP7r7WaXo2OlgZ7pcsVVjF4Mpt9+5dVZe+i/MX6U7OLQ6Q8rRprtzykcwu1y68fnbezK1sLzUW6ohfWf0ktuucbGPVX9XpTbF0gwB/w+crh34Od5WgsEY1vxiOZ1d5X+DGHeSzxeyeRwTo2kOO+JZziDOe+J2lcmpZmuqmSr8eZwjeTwh8mPosG</latexit>
<latexit
tence of the deep layer [58, 59].
X
Wij σiz hj
h1
sha1_base64="TW8NU84FrhaF/GCPpel4B5jzi+w=">AAACZnichVG7SgNBFD1Z3/GRqIiCzWJQrMKNiEYLEWws1ZgHxBB21zEu7ovdTSAGf0Cw1cJKQUT8DBt/wMI/UCwj2Fh4s1kREfUOM/fOmXvuPTOjOobu+USPEamjs6u7p7cv2j8wOBSLD4/kPLvqaiKr2YbtFlTFE4Zuiayv+4YoOK5QTNUQefVgrXWerwnX021r2687omQqFUvf0zXFZyizW06V4wlKLi0t0GJa/hmkkhRYAqFt2PFr7GAXNjRUYULAgs+xAQUejyJSIDiMldBgzOVID84FjhBlbpWzBGcojB7wWuFdMUQt3rdqegFb4y4GT5eZMqbpgW6oSfd0S8/0/mutRlCjpaXOXm1zhVOOHU9k3v5lmex97H+x/tTsYw/pQKvO2p0Aad1Ca/Nrh2fNzPLWdGOGLumF9V/QI93xDazaq3a1KbbOEeUP+Hxl+fcgN5dMLSTnN+cTqyvhV/RiElOY5fdexCrWsYEs963gBKc4izxJQ9KYNN5OlSIhZxTfTJI/AB42iwI=</latexit>
<latexit
sha1_base64="STaGrgTjNXcv1LcwXSK95Y0Wd4Q=">AAACbXichVHJSgNBEH0Z97gkKoKgSDC4nEJFQjQeRPDi0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W+cuBk+XmTFM0hPdUY0e6Z5e6KNlrXJQo67llL3W4AonH7kY2Xr/l2Wy93H8zfpTs48jzAdaJWt3AqR+C73BL51d1rYWNyfLU1SlV9ZfoWd64BtYpTf9ZkNsXiPMH/D1yrHWQXY2kUwnUhup+PJS8yu6MYYJTPN7z2EZq1hHhvu6uEIF1VBNGVViykQjVQk1OcP4YcrMJ8Lij+M=</latexit>
<latexit
…
dM0
z
N
hj dk .
sha1_base64="YLLV2clXgOm6Mv6QaFkPjXLpld0=">AAACanichVE9SwNBEH05v+NHYmyUNNEYsQoTCWosRLCxEeJHjKAh3J2b5Mjl7ri7BGLIH7CzErRSEBF/ho1/wMKfINop2Fg4uURERJ1ld2bfzpt9O6tYuua4RA8+qau7p7evf8A/ODQ8EgiOhnYcs2qrIqOaumnvKrIjdM0QGVdzdbFr2UKuKLrIKuXV1nm2JmxHM41tt26JXEUuGlpBU2WXoWwp39ifXG/mg1GKp1LztLAY+Rkk4uRZFB1Lm8Er7OMAJlRUUYGAAZdjHTIcHntIgGAxlkODMZsjzTsXaMLP3CpnCc6QGS3zWuTdXgc1eN+q6XhslW/RedrMjCBG93RNL3RHN/RI77/Wang1Wlrq7JU2V1j5wNH41tu/rAp7F6Uv1p+aXRSw6GnVWLvlIa1XqG1+7fDkZWtpM9aYoQt6Yv3n9EC3/AKj9qpebojNM/j5Az67HPk92JmLJ+bjyY1kdGW58xX9CGMKs9zvBaxgDWlkPHXHOMWZ71kKSRNSuJ0q+TqcMXwzafoD5LKMvw==</latexit>
<latexit
hM
states.
limit of a large number of hidden spins. On the DBM method has the advantage of being exact except
other hand, in the case of the DBM having a higher for the Suzuki-Trotter error; however, its applicability
representation power than the RBM, the number of is limited by the negative sign problem as in the QMC
hidden spins required for the transformation has been method. Therefore, for systems where the sign problem
discussed [6, 58]. In Ref. [6], it was shown that MPS cannot be avoided, the former variational approach,
with bond dimension χ for N qubit systems has a DBM which can avoid the explicit sign problem, will work
representation with O(N χ2 ) hidden degrees of freedom better. Finally, we discuss an extension to finite-
(hidden and deep spins). temperature simulations in Sec. 6.
method [71, 72] in the machine learning community. The move in Eq. (15) can also be interpreted as the
Both were developed independently, and their relation- steepest descent direction with respect to the quantum
ship has only recently been recognized. information geometry [73].
The SR method makes use of information about The quantities used in the SR method can
the geometry of quantum states (Fubini-Study metric). be estimated using the Monte Carlo method (see
Hence, we first introduce the Fubini-Study metric and Appendix A.2 for details). Efficient techniques to
move on to the explanation of the update rule of the compute the gradient with respect to the variational
SR method. The Fubini-Study metric is a metric on parameters, such as backpropagation [74] (reverse
the space of quantum states, whose form is given by mode of automatic differentiation), can also be
s combined.
⟨ψ|ϕ⟩ ⟨ϕ|ψ⟩
F[|ψ⟩ , |ϕ⟩] := arccos . (10)
⟨ψ|ψ⟩ ⟨ϕ|ϕ⟩
4.1.3. Calculation procedure
|ψ⟩ Here, we summarize the calculation procedure by
For normalized quantum states |ψ̄⟩ = √ and
⟨ψ|ψ⟩
focusing on the variational approach for ground-state
|ϕ̄⟩ = √|ϕ⟩ , the Fubini-Study metric reads calculations.
⟨ϕ|ϕ⟩
F |ψ̄⟩ , |ϕ̄⟩ = arccos |⟨ψ̄|ϕ̄⟩| . (11) (i) Initialization: Construct a variational ansatz
based on the RBM and initialize RBM variational
This can be interpreted as the angle between the two parameters. We often put small random numbers.
complex vectors. Therefore, the Fubini-Study metric
is occasionally called the quantum angle. Now, we (ii) Optimization: Optimize the RBM parameters to
consider the infinitesimal form of this metric; for a minimize the loss function (total energy). In this
variational quantum state |ψθ ⟩ characterized by the paper, we employ the SR scheme for this purpose.
parameter set θ, it is given by (iii) Post-process: Once we obtain the optimized
X wave function, we can compute various physical
F 2 [|ψθ+δθ ⟩ , |ψθ ⟩] = Skl (θ)δθk δθl . (12) quantities such as the correlation function, as well
kl
as the total energy.
Skl (θ) = Re Qkl (θ) is the Fubini-Study metric tensor
and is given as the real part of so called quantum When random numbers are used for the initialization
geometric tensor Qkl (θ): of the parameters, multiple optimization calculations
are often performed using different sets of initial
⟨∂k ψθ |∂l ψθ ⟩ ⟨∂k ψθ |ψθ ⟩ ⟨ψθ |∂l ψθ ⟩ parameters. Then, for the calculation of physical
Qkl (θ) = − . (13)
⟨ψθ |ψθ ⟩ ⟨ψθ |ψθ ⟩ ⟨ψθ |ψθ ⟩ quantities in step (iii), we employ the lowest-energy
The Fubini-Study metric can be regarded as a quantum state among the optimized variational states.
version of the Fisher information metric and thus has
a close relationship with information geometry [73]. 4.1.4. Demonstration
As described above, the SR optimization is closely Here, we demonstrate the application of the RBM
related to the imaginary-time evolution of quantum wave function following the procedure described above.
states. The update rule can be derived by trying to As an example, we consider the one-dimensional
reproduce the infinitesimal imaginary-time evolution Heisenberg model on the 8-site spin chain with the
e−2δτ H |ψθ ⟩ by the variational state with updated periodic boundary condition. The Hamiltonian reads
parameters |ψθ+δθ ⟩: 8
− σiy σi+1
y
X
δ θe = arg min F[e−2δτ H |ψθ ⟩ , |ψθ+δθ ⟩] (14) H= (−σix σi+1
x
+ σiz σi+1
z
). (17)
δθ i=1
After some algebra (see Appendix A.1 for details), we This form is obtained by rotating the spin quantization
obtain the following update rule: axis by 180 degrees about the z axis for one of the
−1 (t) two sublattices
P (gauge transformation) from the usual
(t)
X
δθk = −δτ S (t) kl gl , (15)
l
form H = i (σix σi+1x
+ σiy σi+1
y
+ σiz σi+1
z
). With this
where t indicates the iteration number of optimiza- form, the amplitude of the ground-state wave function
(t) becomes positive ψ(σ) > 0 for all σ in the sector with
tion ¶. gl is the gradient of the total energy (loss P z
function) with respect to the variational parameters i σi = 0.
First, we construct a variational ansatz based on
(t) ∂Eθ the RBM. The system has translational symmetry;
gk = . (16)
∂θk θ=θ (t) therefore, we impose translational symmetry in the
¶ Replacing the S matrix with the identity matrix (Hessian
variational ansatz. For this purpose, we impose
matrix) results in an update corresponding to the stochastic translational symmetry on Wij parameters. In
gradient descent method (Newton’s method). addition, one way to preserve the symmetry between
Boltzmann machines and quantum many-body problems 8
0.8 −10
(a) (b) 0.4
(c) (↑↓↑↓↑↓↑↓) (↓↑↓↑↓↑↓↑)
0.4 −11
Exact
0.3
Total energy
0 −12 Initial RBM
Wi−j
Optimized
ψ(σ)
0.2 RBM
−0.4 −13
Initial
−0.8 Optimized −14 0.1
−1.2 −15 0
0 1 2 3 4 5 6 7 0 100 200 300 400
(↑↑↑↑↓↓↓↓) (↓↓↓↓↑↑↑↑)
i−j Optimization loop σ
Figure 3. Demonstration of the variational method based on the RBM wave function. The method is applied to the one-
dimensional Heisenberg model on the 8-site spin chain with the periodic boundary condition. (a) Initial and optimized RBM
variational parameters in Eq. (18). Because of the translational symmetry, the origin of i − j is arbitrary. We set the origin of i − j
so that |W0 | is the largest among |Wi−j |. (b) Total energy (= loss function) as a function of the optimization loop. (c) Initial and
optimized RBM wave functions and comparison to the exact diagonalization result.
the up and down spins is to set the bias terms to zero, 4.2. Results by Carleo and Troyer
i.e., ai = 0 and bj = 0. When the number of hidden
The variational method based on the RBM was first
spins is equal to the number of physical spins, the RBM
introduced by Carleo and Troyer [7]. They applied the
wave function reads
RBM wave function to the one-dimensional transverse-
8 8
field Ising model, the one-dimensional Heisenberg
Y X
ψ(σ) = 2 cosh Wi−j σiz . (18)
model, and the two-dimensional Heisenberg model
j=1 i=1
on a square lattice [7]. Since these models have
In the present case, the wave function is real and no geometrical frustration, the values of the ground-
positive ψ(σ) > 0; thus, the Wi−j parameters are taken state wave function can be made positive and
to be real. In this setup, the number of independent real by a proper gauge transformation (the gauge
parameters is 8 (Wi−j with i − j = 0, . . . , 7). transformation was also used in Sec. 4.1.4). Using
As the initialization of the variational parameters, this fact, Carleo and Troyer also set the variational
we put small random numbers [Fig. 3(a)]. We then parameters to real numbers, as in Sec. 4.1.4. They
optimize the variational parameters using the SR also imposed the same translational symmetry on W
method to minimize the total energy (loss function) parameters (so that the number of hidden spins M is
[Fig. 3(b)]. The optimized Wi−j parameters show a an integer multiple of the number of visible spins N ).
sign change between W0 where |Wi−j | is largest and Defining α = M/N , α is the parameter that controls
W1 where |Wi−j | is second largest, which indicates the accuracy of the RBM wave function (α = 1 was
that the RBM learns the antiferromagnetic correlation used in the demonstration in Sec. 4.1.4).
[Fig. 3(a)]. For the present system size (8-site spin When introducing a new method, it is essential
chain), we can easily perform exact diagonalization and to verify its accuracy. Fig. 4 shows the benchmark
list
P all wave function amplitudes in the sector with results comparing the RBM variational energies and
z
i σi = 0. While the initial RBM wave function numerically exact energies. We see that, for all
has no recognizable features, the optimized RBM Hamiltonians, increasing α improves the accuracy of
wave function reproduces the exact result quite well the RBM variational state and reduces the relative
[Fig. 3(c)]. Once we obtain the optimized RBM wave error in energy, as expected. The results for the
function, we can compute, for example, the spin-spin two-dimensional Heisenberg model shown in Fig. 4(c)
correlation function (not shown). show that the RBM can achieve better accuracy
When the system size becomes large, it is not than those obtained from tensor networks such
possible to compute the wave function amplitudes for as entangled-plaquette states (EPSs) [75, 77] and
all the spin configurations. In this case, physical projected entangled pair states (PEPSs) [78]+ .
quantities are estimated numerically using the Monte
+ The comparison was made under the periodic boundary
Carlo method (see Appendix A.2). If the number of
condition. We note that the performance of tensor networks
hidden spins is polynomial with respect to N , the is much better under the open boundary condition.
computational cost scales polynomially with respect to
N.
Boltzmann machines and quantum many-body problems 9
rel
rel
−4
10−5 10
10−3 PEPS
−6
10 Γ = 1/2
10−5
10−7 Γ=2
10−8 10−6 10−4
1 2 4 1 2 4 1 2 4 8 16 32
α α α
Figure 4. Results of variational calculations using RBM by Carleo andPTroyer [7]. Relative error ϵrel of the RBM variational
energy for (a) one-dimensional transverse-field Ising (TFI) model H = − i σiz σi+1 z − Γ i σix (periodic boundary condition, 80
P
P x x y y z z
sites) (b) one-dimensional Heisenberg model H = i (−σi σi+1 − σi σi+1 + σi σi+1 ) (periodic boundary condition, 80 sites), and
P x x y y z z
(c) two-dimensional Heisenberg model H = ⟨i,j⟩ (−σi σj − σi σj + σi σj ) (periodic boundary condition, 10 × 10 square lattice). α
(= M/N ) is a parameter that controls the accuracy of the RBM. ϵrel is given by ϵrel = (ERBM (α) − Eexact )/|Eexact |. “Jastrow” in
(b) shows the result of Jastrow ansatz, and EPS and PEPS in (c) are the results of tensor networks taken from Refs. [75] and [76],
respectively.
relative error
relative error
RBM+PP
4
0 0.1 0.2 0.3 0.4 0.5
Table 1. Applications to fermion systems. ANN stands for artificial neural network. When referring to molecules as a target, the
target also includes, e.g., atoms, diatoms, and hydrogen chains.
−3 S+
10 ΨK=0 (σ) 5. DBM for zero-temperature calculations
Table 3. Comparison between the RBM and DBM methods described in Sec. 4 ad Sec. 5, respectively.
(a)
0 0 … 0 −0.2
d1 d2 … dM0
E/N
<latexit sha1_base64="5qe38tm1TIukrQEolRuHkxHfY4Y=">AAACeHicjVG7SgNBFD1Z3/GRqI1gEwy+mjAbBMVKtLE0iUkEo2F3ncQh+2J3E4hLfsAfsLAQBdHgZ9j4Axb5BLGMIIiFN5uAWES9w8y9c+aee8/MqLYuXI+xVkgaGBwaHhkdC49PTE5FotMzOdeqOhrPapZuOQeq4nJdmDzrCU/nB7bDFUPVeV6t7HTO8zXuuMIy9726zY8MpWyKktAUj6BidLbgirKhHPsF2xEGbxR9uVGMxuUECyzWP4ijZ3tW9A4FnMCChioMcJjwKNahwKVxCBkMNmFH8AlzKBLBOUcDYeJWKYtThkJohdYy7Q57qEn7Tk03YGvURafpEDOGRfbMmqzNntgDe2GffWv5QY2Oljp5tcvldjFyPpd5/5NlkPdw+s36VbOHEjYCrYK02wHSuYXW5dfOLtqZzfSiv8Ru2Cvpv2Yt9kg3MGtv2m2Kpy8R/t8H5JIJmSXk1Fp8a7v3FaOYxwJW6L3XsYVd7CFLfeu4wj2aoQ8pJi1Lq91UKdTjzOKHSckvBGeSLA==</latexit>
1 <latexit sha1_base64="M4ykC8KE+otofYC5jK3CCMgw3dQ=">AAACeHicjVHNSkJBFP68/duPlpugjST2s5FRgqJV1KalVpagJvfeRhu8f9x7FeziC/QCLVpEQZT0GG16gRY+QrQ0CKJFx6sQLazOMHPOfHO+c76ZUSxNOC5j7YA0NDwy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il+yZ9F+wR3ZHN7Brb8bVKl87Rfx/H7A5m1ZZWl2dS2WWoq/oxCgmMEPvPY8MVpBFjvraOMYZzmMvyrAypow3U5VYxBnCN1OmPwFZWo3S</latexit>
…
0.2
(b)
0
… ⌧
<latexit sha1_base64="9YTcekeKfiGc69JnOmn+YYIt4k4=">AAACZ3ichVE9SwNBEH05v2L8SFSQgE00KFZhEhTFKmCjXfyIBqLI3bmaI5e7424TiME/YGEbwUpBRPwZNv4BC39CsIxgY+HcJSIi6iy7M/t23szbXc0xDU8SPYeUnt6+/oHwYGRoeGQ0Ghsb3/HsqquLvG6btlvQVE+YhiXy0pCmKDiuUCuaKXa18qp/vlsTrmfY1rasO2K/oh5bxpGhq9KH9qRaPYglKZVZJLbEzyCdosCS6FrOjt1iD4ewoaOKCgQsSI5NqPB4FJEGwWFsHw3GXI6M4FzgFBHmVjlLcIbKaJnXY94Vu6jFe7+mF7B17mLydJmZwCw90R216ZHuqUXvv9ZqBDV8LXX2WocrnIPoWXzr7V9Whb1E6Yv1p2aJIywHWg3W7gSIfwu9w6+dNNtbK5uzjTm6phfWf0XP9MA3sGqv+s2G2LxEhD/g85UTvwc7mVSaUumNhWR2vfsVYUxhBvP83kvIYg055LlvCedo4iLUUqLKpBLvpCqhLmcC30yZ/gDvzYtg</latexit>
<latexit
(c)
3 J2 = 0.0
S z (π, π)
2 J2 = 0.5
Within this basis, the energy expectation value ⟨H⟩ is [16] Nomura Y and Imada M 2021 Phys. Rev. X 11(3) 031034
given by [17] Astrakhantsev N, Westerhout T, Tiwari A, Choo K, Chen
A, Fischer M H, Carleo G and Neupert T 2021 Phys.
∗ ′
P
⟨ψθ | H |ψθ ⟩ ′ ψ (x)Hxx′ ψθ (x ) Rev. X 11(4) 041021
= xx Pθ 2 (A.8) [18] Li M, Chen J, Xiao Q, Wang F, Jiang Q, Zhao X, Lin R,
⟨ψθ |ψθ ⟩ x |ψθ (x)| An H, Liang X and He L 2022 IEEE Transactions on
P 2 Parallel and Distributed Systems 33 2846–2859
|ψθ (x)| Eloc (x)
= xP 2 (A.9) [19] Rath Y and Booth G H 2022 Phys. Rev. Res. 4(2) 023126
x |ψθ (x)| [20] Roth C, Szabó A and MacDonald A 2023 High-accuracy
′ variational monte carlo for frustrated magnets with deep
with Hxx′ = ⟨x| H |x′ ⟩ and Eloc (x) = x′ Hxx′ ψψθθ(x )
P
(x) . neural networks arXiv:2211.07749
Thus, we can estimate ⟨H⟩ by the Monte Carlo average [21] Reh M, Schmitt M and Gärttner M 2023 Phys. Rev. B
107(19) 195115
of Eloc (x), where Monte Carlo samples are generated [22] Chen A and Heyl M 2023 Efficient optimization of
using the weight proportional to |ψθ (x)|2 . deep neural quantum states toward machine precision
By defining the diagonal operator Ok = arXiv:2302.01941
[23] Saito H 2017 J. Phys. Soc. Jpn. 86 093001
Okloc (σ) ⟨σ| with Okloc (σ) = ∂kψψθ (σ)
θ (σ)
P
σ |σ⟩ , we can [24] Saito H and Kato M 2018 J. Phys. Soc. Jpn. 87 014001
rewrite the equations for Skl and gk as [25] Nomura Y, Darmawan A S, Yamaji Y and Imada M 2017
Phys. Rev. B 96(20) 205152
Skl = Re ⟨Ok† Ol ⟩ − ⟨Ok† ⟩⟨Ol ⟩ , (A.10) [26] Luo D and Clark B K 2019 Phys. Rev. Lett. 122(22) 226401
[27] Han J, Zhang L and Weinan E 2019 Journal of Computa-
and tional Physics 399 108929
[28] Choo K, Mezzacapo A and Carleo G 2020 Nat. Commun.
gk = 2Re⟨HOk ⟩ − 2⟨H⟩Re⟨Ok ⟩, (A.11) 11 2368
[29] Pfau D, Spencer J S, Matthews A G D G and Foulkes
respectively. Similarly with the energy expectation W M C 2020 Phys. Rev. Research 2(3) 033429
value, all the expectation values in Eqs. (A.10) and [30] Hermann J, Schätzle Z and Noé F 2020 Nat. Chem. 12
(A.11) can be estimated using the Monte Carlo method 891–897
with the weight proportional to |ψθ (x)|2 . For example, [31] Stokes J, Moreno J R, Pnevmatikakis E A and Carleo G
2020 Phys. Rev. B 102(20) 205122
⟨Ok ⟩ given by [32] Yoshioka N, Mizukami W and Nori F 2021 Commun. Phys.
P 2 4 106
⟨ψθ |∂k ψθ ⟩ |ψθ (x)| Oloc (x)
⟨Ok ⟩ = = xP 2 (A.12) [33] Inui K, Kato Y and Motome Y 2021 Phys. Rev. Research
⟨ψθ |ψθ ⟩ x |ψθ (x)|
3(4) 043126
[34] Moreno J R, Carleo G, Georges A and Stokes J 2022 Proc.
is computed by the Monte Carlo average of Oloc (x). Natl. Acad. Sci. USA 119 e2122059119
[35] Cassella G, Sutterud H, Azadi S, Drummond N D, Pfau D,
Spencer J S and Foulkes W M C 2023 Phys. Rev. Lett.
References 130(3) 036401
[36] Nomura Y 2020 J. Phys. Soc. Jpn. 89 054706
[1] Becca F and Sorella S 2017 Quantum Monte Carlo Ap- [37] Deng D L, Li X and Das Sarma S 2017 Phys. Rev. X 7(2)
proaches for Correlated Systems (Cambridge University 021021
Press) [38] Deng D L, Li X and Das Sarma S 2017 Phys. Rev. B 96(19)
[2] Bardeen J, Cooper L N and Schrieffer J R 1957 Phys. Rev. 195145
108(5) 1175–1204 [39] Glasser I, Pancotti N, August M, Rodriguez I D and Cirac
[3] Anderson P 1973 Materials Research Bulletin 8 153 – 160 J I 2018 Phys. Rev. X 8(1) 011006
ISSN 0025-5408 [40] Lu S, Gao X and Duan L M 2019 Phys. Rev. B 99(15)
[4] Laughlin R B 1983 Phys. Rev. Lett. 50(18) 1395–1398 155136
[5] Clark S R 2018 Journal of Physics A: Mathematical and [41] Kaubruegger R, Pastori L and Budich J C 2018 Phys. Rev.
Theoretical 51 135301 B 97(19) 195136
[6] Huang Y and Moore J E 2021 Phys. Rev. Lett. 127(17) [42] Choo K, Carleo G, Regnault N and Neupert T 2018 Phys.
170601 Rev. Lett. 121(16) 167204
[7] Carleo G and Troyer M 2017 Science 355 602–606 ISSN [43] Hendry D and Feiguin A E 2019 Phys. Rev. B 100(24)
0036-8075 245123
[8] Smolensky P 1986 Parallel Distributed Processing: Explo- [44] Vieijra T, Casert C, Nys J, De Neve W, Haegeman J,
rations in the Microstructure of Cognition: Foundations Ryckebusch J and Verstraete F 2020 Phys. Rev. Lett.
(Cambridge: MIT Press) 124(9) 097201
[9] Cai Z and Liu J 2018 Phys. Rev. B 97(3) 035116 [45] Czischek S, Gärttner M and Gasenzer T 2018 Phys. Rev. B
[10] Liang X, Liu W Y, Lin P Z, Guo G C, Zhang Y S and He 98(2) 024311
L 2018 Phys. Rev. B 98(10) 104426 [46] Schmitt M and Heyl M 2020 Phys. Rev. Lett. 125(10)
[11] Choo K, Neupert T and Carleo G 2019 Phys. Rev. B 100503
100(12) 125124 [47] Nagy A and Savona V 2019 Phys. Rev. Lett. 122(25) 250501
[12] Ferrari F, Becca F and Carrasquilla J 2019 Phys. Rev. B [48] Hartmann M J and Carleo G 2019 Phys. Rev. Lett. 122(25)
100(12) 125131 250502
[13] Westerhout T, Astrakhantsev N, Tikhonov K S, Katsnelson [49] Vicentini F, Biella A, Regnault N and Ciuti C 2019 Phys.
M I and Bagrov A A 2020 Nat. Commun. 11 1593 Rev. Lett. 122(25) 250503
[14] Szabó A and Castelnovo C 2020 Phys. Rev. Research 2(3) [50] Yoshioka N and Hamazaki R 2019 Phys. Rev. B 99(21)
033075 214306
[15] Nomura Y 2021 J. Phys.: Condens. Matter 33 174003 [51] Irikura N and Saito H 2020 Phys. Rev. Research 2(1)
Boltzmann machines and quantum many-body problems 16