[Paper Review] VQE-generated quantum circuit dataset for machine learning
The paper introduces a dataset of quantum circuits optimized by the variational quantum eigensolver (VQE) to enable clustering and classification of quantum circuits, and demonstrates learning on both simulators and real quantum hardware.
Quantum machine learning has the potential to computationally outperform classical machine learning, but it is not yet clear whether it will actually be valuable for practical problems. While some artificial scenarios have shown that certain quantum machine learning techniques may be advantageous compared to their classical counterpart, evidence does not yet suggest that quantum machine learning has surpassed conventional approaches in dealing with standard classical datasets, such as MNIST dataset. In contrast, dealing with quantum data, such as quantum states or circuits, may be the task where we can benefit from quantum methods. Therefore, it is important to develop practically meaningful quantum datasets for which we expect quantum methods to be superior. In this paper, we propose a machine learning task that is likely to soon arise in the real world: clustering and classification of quantum circuits. We provide a dataset of quantum circuits optimized by the variational quantum eigensolver. We utilized six common types of Hamiltonians in condensed matter physics, with a range of 4-20 qubits, and applied ten different ansatz with varying depths (ranging from 3 to 32) to generate a quantum circuit dataset of six distinct classes, each containing 300 samples. We show that this dataset can be easily learned using quantum methods. In particular, we demonstrate a successful classification of our dataset using real four-qubit devices available through IBMQ. By providing a setting and an elementary dataset where quantum machine learning is expected to be beneficial, we hope to encourage and ease the advancement of the field.
Motivation & Objective
- Motivate a practical quantum ML task that could arise in near-future quantum cloud services (clustering/classification of circuits).
- Provide an elementary, labeled dataset of quantum circuits generated by VQE across multiple Hamiltonians and ansätze.
- Demonstrate that quantum methods can learn the dataset in both simulated and real-device settings.
- Highlight potential uses as benchmarks for quantum circuit compilers/transpilers and future data-driven analyses.
Proposed method
- Construct a dataset of 1800 circuits (1500 for N=4) optimized by VQE to ground states of six Hamiltonians using six ansatz types and circuit depths D from 3 to 32.
- Provide six labels corresponding to Hamiltonians; generate 300 circuits per label per qubit count (N=4,8,12,16,20).
- Use exact (noise-free) expectation values to optimize parameters with BFGS until convergence criteria are met.
- Represent circuits with QASM format and evaluate output-state fidelities |<0|U_m^† U_{m'}|0>|^2 for clustering/classification.
- Visualize data with t-SNE and assess clustering with k-medoids and adjusted Rand index (ARI).
- Demonstrate classification using kernel SVM on circuit-parameter features and show feasibility on real hardware (4-qubit IBMQ) and noise simulators.
Experimental results
Research questions
- RQ1Can quantum circuits optimized for different Hamiltonians be clustered or classified based on their output-state similarities?
- RQ2Is the proposed VQE-generated circuit dataset learnable by quantum methods and challenging for classical ML baselines?
- RQ3To what extent can real quantum hardware classify or cluster the dataset, and how does noise affect performance?
- RQ4Can the dataset serve as a practical benchmark for quantum circuit design, compilation, and cloud-provider analytics?
Key findings
- Unsupervised clustering is easy for ideal quantum computers across N=4,8,12,16,20 qubits, with ARI values 0.992, 0.968, 0.927, 0.883, and 0.692 respectively.
- 4-, 8-, 12-, and 16-qubit datasets show high clustering quality; 20-qubit data are harder due to subset 5 being difficult.
- On real hardware, 4-qubit clustering is demonstrated as perfect (within reported setup).
- Noise-model simulation on 20-qubit data yields ARI 0.720, indicating feasibility of learning with larger qubit counts under realistic noise.
- Classical ML with standard feature maps is weak overall; SVM with circuit-parameter features achieves around 80% accuracy only for Hamiltonian-ansatz data, otherwise near random.
- The dataset is publicly available on GitHub in QASM format for multiple qubit counts and labels.
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.