Unitary-coupled restricted Boltzmann machine ansatz for quantum simulations

Chang‐Yu Hsieh, Qiming Sun, Shengyu Zhang, Chee Kong Lee

Abstract

Neural-network quantum state (NQS) has attracted significant interests as a powerful wave-function ansatz to model quantum phenomena. In particular, a variant of NQS based on the restricted Boltzmann machine (RBM) has been adapted to model the ground state of spin lattices and the electronic structures of small molecules in quantum devices. Despite these progresses, significant challenges remain with the RBM-NQS-based quantum simulations. In this work, we present a state-preparation protocol to generate a specific set of complex-valued RBM-NQS, which we name the unitary-coupled RBM-NQS, in quantum circuits. Our proposal expands the applicability of NQS as prior works deal exclusively with real-valued RBM-NQS for quantum algorithms. With this scheme, we achieve (1) modeling complex-valued wave functions, (2) using as few as one ancilla qubit to simulate M hidden spins in an RBM architecture, and (3) avoiding post-selections to improve scalability.

Introduction

Neural-network quantum states (NQS), particularly those based on Restricted Boltzmann Machines (RBMs), have emerged as powerful tools for modeling complex quantum systems. However, implementing these on Noisy Intermediate-Scale Quantum (NISQ) hardware presents significant challenges. Traditional methods suffer from high resource costs, typically requiring one ancilla qubit for every hidden spin in the RBM. Furthermore, state preparation often relies on probabilistic post-selection, which scales poorly as system size increases. Additionally, most existing quantum RBM implementations are limited to real-valued wave functions, restricting their use in systems with magnetic fields or dynamic phase factors.

To address these bottlenecks, we introduce a "unitary-coupled" RBM ansatz and a qubit-recycling protocol. This approach enables the simulation of complex quantum systems using as few as one extra ancilla qubit while bypassing inefficient post-selection processes.

Methods

The core of our proposal is the unitary-coupled RBM-NQS architecture, which utilizes three primary strategies to enhance efficiency and scalability:

  1. Unitary Coupling: By restricting interaction parameters between visible and hidden spins to purely imaginary values, coupling operations become naturally unitary. This allows for direct implementation using standard quantum gates.
  2. Qubit Recycling: Leveraging the commutativity of terms in the RBM Hamiltonian, we apply couplings for each hidden spin sequentially. This allows a single ancilla qubit to be reused across multiple hidden spins—interacting with visible qubits, being measured, reset, and then reused. This reduces the ancilla requirement from $M$ (the number of hidden spins) to just one.
  3. Ensemble State Preparation: To avoid the overhead of post-selection, we treat all measurement outcomes as part of an ensemble. A Monte Carlo framework is then used to combine these results, ensuring every quantum computation run contributes to the final result.

Additionally, we propose a modified Imaginary-Time Evolution (NQS-ITE) algorithm. Unlike standard Variational Quantum Eigensolvers (VQE) that may require numerous circuits for gradient calculation, NQS-ITE leverages the RBM structure to derive necessary information from a single circuit type.

Architecture of the unitary-coupled RBM-NQS: (a) standard circuit with post-selection, (b) graph representation of the RBM, and (c) the proposed qubit-recycling circuit using ENT blocks.

Results and Discussion

The unitary-coupled RBM-NQS was validated across several benchmarks, including molecular systems ($H_2$, $LiH$, $H_4$), spin models (TFI, AFH, and frustrated $J_1-J_2$), and Triple Quantum Dot (TQD) nanostructures.

Key findings include:

  • High Accuracy: Ground state energies for molecular systems matched exact diagonalization results across various bond lengths.
  • Handling Frustration: The model successfully captured the ground states of the $J_1-J_2$ model, a system typically difficult for standard variational methods.
  • Complex Wave Functions: Simulations of the TQD model accurately captured complex dynamical phases induced by magnetic fields, demonstrating the advantage over real-valued NQS.

The success of this approach relies on the commutativity of RBM operators, which allows complex multi-qubit entanglement to be decomposed into a sequence of simpler operations. By focusing on the unitary-coupled subclass, we identify a variational ansatz that is both physically expressive and natively compatible with quantum hardware.

Conclusion

The unitary-coupled RBM-NQS provides a scalable path for NQS-based quantum simulations. Future work will explore extensions to Deep Boltzmann Machines and the application of ensemble measurement techniques to broader classes of variational quantum ansatze. Testing on physical quantum hardware will be essential to evaluate the impact of noise on the qubit-recycling process.

Summary updated

Abstract

Abstract Neural-network quantum state (NQS) has attracted significant interests as a powerful wave-function ansatz to model quantum phenomena. In particular, a variant of NQS based on the restricted Boltzmann machine (RBM) has been adapted to model the ground state of spin lattices and the electronic structures of small molecules in quantum devices. Despite these progresses, significant challenges remain with the RBM-NQS-based quantum simulations. In this work, we present a state-preparation protocol to generate a specific set of complex-valued RBM-NQS, which we name the unitary-coupled RBM-NQS, in quantum circuits. Our proposal expands the applicability of NQS as prior works deal exclusively with real-valued RBM-NQS for quantum algorithms. With this scheme, we achieve (1) modeling complex-valued wave functions, (2) using as few as one ancilla qubit to simulate M hidden spins in an RBM architecture, and (3) avoiding post-selections to improve scalability.
BibTeX
@inproceedings{hsieh2021unitary,
  author = {Chang‐Yu Hsieh and Qiming Sun and Shengyu Zhang and Chee Kong Lee},
  title = {{Unitary-coupled restricted Boltzmann machine ansatz for quantum simulations}},
  booktitle = {Npj},
  year = {2021},
  doi = {10.1038/s41534-020-00347-1},
}
Figure