Analog Quantum Variational Embedding Classifier
Quantum machine learning has the potential to provide powerful algorithms for artificial intelligence. The pursuit of quantum advantage in quantum machine learning is an active area of research. For current noisy intermediate-scale quantum computers, various quantum-classical hybrid algorithms have...
Main Authors: | , , , , |
---|---|
Other Authors: | |
Format: | Article |
Language: | English |
Published: |
American Physical Society
2024
|
Subjects: | |
Online Access: | https://hdl.handle.net/1721.1/153937 |
_version_ | 1824458076726493184 |
---|---|
author | Yang, Rui Bosch, Samuel Kiani, Bobak Lloyd, Seth Lupascu, Adrian |
author2 | Massachusetts Institute of Technology. Department of Mechanical Engineering |
author_facet | Massachusetts Institute of Technology. Department of Mechanical Engineering Yang, Rui Bosch, Samuel Kiani, Bobak Lloyd, Seth Lupascu, Adrian |
author_sort | Yang, Rui |
collection | MIT |
description | Quantum machine learning has the potential to provide powerful algorithms for artificial intelligence. The pursuit of quantum advantage in quantum machine learning is an active area of research. For current noisy intermediate-scale quantum computers, various quantum-classical hybrid algorithms have been proposed. One such previously proposed hybrid algorithm is a gate-based variational embedding classifier, which is composed of a classical neural network and a parameterized gate-based quantum circuit. We propose a quantum variational embedding classifier based on an analog quantum computer, where control signals vary continuously in time: our particular focus is an implementation using quantum annealers. In our algorithm, the classical data are transformed into the parameters of the time-varying Hamiltonian of the analog quantum computer by a linear transformation. The nonlinearity needed for a nonlinear classification problem is purely provided by the analog quantum computer through the nonlinear dependence of the final quantum state on the control parameters of the Hamiltonian. We perform numerical simulations that demonstrate the effectiveness of our algorithm for performing binary and multiclass classification on linearly inseparable datasets such as concentric circles and MNIST digits. Our classifier can reach accuracy comparable with that of the best classical classifiers. We find that the performance of our classifier can be increased by increasing the number of qubits, until the performance saturates and fluctuates. Moreover, the number of optimization parameters of our classifier scales linearly with the number of qubits. The increase of the number of training parameters when the size of our model increases is therefore not as fast as that of a neural network. Our algorithm presents the possibility of using current quantum annealers for solving practical machine-learning problems, and it could also be useful to explore quantum advantage in quantum machine learning. |
first_indexed | 2024-09-23T11:16:45Z |
format | Article |
id | mit-1721.1/153937 |
institution | Massachusetts Institute of Technology |
language | English |
last_indexed | 2025-02-19T04:20:09Z |
publishDate | 2024 |
publisher | American Physical Society |
record_format | dspace |
spelling | mit-1721.1/1539372025-01-07T04:51:43Z Analog Quantum Variational Embedding Classifier Yang, Rui Bosch, Samuel Kiani, Bobak Lloyd, Seth Lupascu, Adrian Massachusetts Institute of Technology. Department of Mechanical Engineering General Physics and Astronomy Quantum machine learning has the potential to provide powerful algorithms for artificial intelligence. The pursuit of quantum advantage in quantum machine learning is an active area of research. For current noisy intermediate-scale quantum computers, various quantum-classical hybrid algorithms have been proposed. One such previously proposed hybrid algorithm is a gate-based variational embedding classifier, which is composed of a classical neural network and a parameterized gate-based quantum circuit. We propose a quantum variational embedding classifier based on an analog quantum computer, where control signals vary continuously in time: our particular focus is an implementation using quantum annealers. In our algorithm, the classical data are transformed into the parameters of the time-varying Hamiltonian of the analog quantum computer by a linear transformation. The nonlinearity needed for a nonlinear classification problem is purely provided by the analog quantum computer through the nonlinear dependence of the final quantum state on the control parameters of the Hamiltonian. We perform numerical simulations that demonstrate the effectiveness of our algorithm for performing binary and multiclass classification on linearly inseparable datasets such as concentric circles and MNIST digits. Our classifier can reach accuracy comparable with that of the best classical classifiers. We find that the performance of our classifier can be increased by increasing the number of qubits, until the performance saturates and fluctuates. Moreover, the number of optimization parameters of our classifier scales linearly with the number of qubits. The increase of the number of training parameters when the size of our model increases is therefore not as fast as that of a neural network. Our algorithm presents the possibility of using current quantum annealers for solving practical machine-learning problems, and it could also be useful to explore quantum advantage in quantum machine learning. 2024-03-25T17:40:18Z 2024-03-25T17:40:18Z 2023-05-05 2024-03-25T17:34:36Z Article http://purl.org/eprint/type/JournalArticle 2331-7019 https://hdl.handle.net/1721.1/153937 Yang, Rui, Bosch, Samuel, Kiani, Bobak, Lloyd, Seth and Lupascu, Adrian. 2023. "Analog Quantum Variational Embedding Classifier." Physical Review Applied, 19 (5). en 10.1103/physrevapplied.19.054023 Physical Review Applied Article is made available in accordance with the publisher's policy and may be subject to US copyright law. Please refer to the publisher's site for terms of use. application/pdf American Physical Society American Physical Society |
spellingShingle | General Physics and Astronomy Yang, Rui Bosch, Samuel Kiani, Bobak Lloyd, Seth Lupascu, Adrian Analog Quantum Variational Embedding Classifier |
title | Analog Quantum Variational Embedding Classifier |
title_full | Analog Quantum Variational Embedding Classifier |
title_fullStr | Analog Quantum Variational Embedding Classifier |
title_full_unstemmed | Analog Quantum Variational Embedding Classifier |
title_short | Analog Quantum Variational Embedding Classifier |
title_sort | analog quantum variational embedding classifier |
topic | General Physics and Astronomy |
url | https://hdl.handle.net/1721.1/153937 |
work_keys_str_mv | AT yangrui analogquantumvariationalembeddingclassifier AT boschsamuel analogquantumvariationalembeddingclassifier AT kianibobak analogquantumvariationalembeddingclassifier AT lloydseth analogquantumvariationalembeddingclassifier AT lupascuadrian analogquantumvariationalembeddingclassifier |