[Paper Review] Bayesian Quantum Circuit
This paper proposes the Bayesian Quantum Circuit (BQC), a novel parameterized quantum circuit that integrates prior distributions via ancillary qubits to improve generative modeling on near-term quantum computers. By approximating the joint distribution P(x, λ) = P(λ)P(x|λ) instead of P(x; λ), BQC mitigates mode collapse, reduces invalid data generation, and enables direct sampling of target data, outperforming state-of-the-art PQCs on BAS dataset benchmarks with 99.96% accuracy for 2×2 images.
Parameterized quantum circuits (PQCs), as one of the most promising schemes to realize quantum machine learning algorithms on near-term quantum computers, have been designed to solve machine earning tasks with quantum advantages. In this paper, we explain why PQCs with different structures can achieve generative tasks in the discrete case from the perspective of probability estimation. Although different kinds of PQCs are proposed for generative tasks, the current methods often encounter the following three hurdles: (1) the mode contraction problem; (2) unexpected data are often generated with a high proportion; (3) target data cannot be sampled directly. For the purpose of tackling the above hurdles, we devise Bayesian quantum circuit (BQC) through introducing ancillary qubits to represent prior distributions. BQC advances both generative and semi-supervised quantum circuit learning tasks, where its effectiveness is validated by numerical simulations using the Rigetti Forest platform.
Motivation & Objective
- To address three key limitations in existing parameterized quantum circuits (PQCs): mode contraction, high proportions of invalid generated data, and inability to sample target data directly.
- To provide a rigorous probabilistic explanation for why PQCs can perform generative tasks in the discrete case using Bayesian inference principles.
- To develop a quantum circuit framework that enables estimation of prior distributions from data, crucial for semi-supervised learning.
- To validate the effectiveness of the proposed BQC through numerical simulations on the Rigetti Forest platform.
Proposed method
- Introduces ancillary qubits to represent prior distributions P(λ), transforming the learning objective from approximating P(x; λ) to P(x, λ) = P(λ)P(x|λ).
- Employs controlled rotation gates (CRY(θ)) and Toffoli gates to construct mapping operators that encode P(λ) and P(x|λ) into quantum state amplitudes.
- Uses a two-stage circuit structure: J blocks {U(γi)} for prior distribution P(λ) on ancillary qubits, and L blocks {U(θi)} for likelihood P(x|λ) on data qubits.
- Applies Maximum Mean Discrepancy (MMD) loss to optimize parameters by minimizing the distance between generated and real data distributions in a reproducing kernel Hilbert space.
- Leverages Dirac notation and quantum state preparation to map initial |0⟩ states to a joint quantum state encoding the full joint distribution.
- Employs gradient-based optimization with measurement-based loss evaluation over N copies of the output state.
Experimental results
Research questions
- RQ1Why can existing PQCs perform generative tasks in the discrete case, and what probabilistic principle underlies their success?
- RQ2What are the fundamental limitations of current PQCs in generative modeling, particularly regarding mode collapse and invalid data generation?
- RQ3Can incorporating prior distributions into quantum circuits improve generative performance and enable direct sampling of target data?
- RQ4Is it possible to estimate prior distributions from data using a quantum circuit, and how can this be achieved in practice?
Key findings
- BQC achieves 99.96% accuracy in generating 2×2 BAS dataset images, significantly outperforming DDQCL (83.82%) and QCBM (98.46%) under the same parameter count.
- For 3×3 BAS images, BQC achieves 89.91% accuracy, compared to 46.76% for QCBM, demonstrating superior scalability and generalization.
- Numerical simulations on the Rigetti Forest platform confirm that BQC effectively mitigates mode contraction and reduces the proportion of invalid generated data.
- BQC enables direct sampling of target data and supports estimation of prior distributions from data, a capability not available in prior PQC frameworks.
- The use of MMD loss with gradient optimization enables effective training of BQC, with convergence observed under the given tolerance ϵ.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.