Comments (5)
Actually, the classification machine is deployed on the quantum computer. The quantum device can be utilized to deploy the QNN model and calculate the gradients, then the model parameters can be optimized with these gradients (optimizers such as Adam can be utilized as well). Let me use a more concrete example:
In our recent work Experimental Quantum Adversarial Learning with Programmable Superconducting Qubits (accepted by Nature Computational Science), we implemented such a QNN classifier on a 36-qubit superconducting quantum processor.
In this work, we deployed both the block-encode QNN (for classical medical images) and amplitude-encode QNN (for quantum many-body state data) on quantum devices.
With the parameter shift rule, we can calculate the gradient of the loss function w.r.t the model parameters, and further update these parameters. The training loop is executed on this quantum processor (i.e. these are not numerical simulations on our PC but are real quantum experiments) (of course, control software is utilized to monitor the process and collect data).
from quantum_neural_network_classifiers.
Thanks. So here are a few things I do not understand. We could have a zoom conversation if you are willing. I am not sure this is the proper forum. But here are some questions, which are hard to find answers for:
- how many measurements are typically needed on the quantum machine to get reliable results?
- If one needs N measurement repetitions, is it also necessary to prepare the input data N times?
- What is the cost of each repetition, including data preparation and running the quantum circuit?
- How does one run iteration loops on the quantum machine?
- Where can I read more about these kinds of details? Most papers do not mention them.
Thanks!
from quantum_neural_network_classifiers.
Hi, we already added some of the details you mentioned in the revised paper (maybe appear in NCS in a month). I live in the GMT+8 (Beijing) time zone and maybe we can arrange a Zoom meeting at a suitable time for both sides. Maybe we can communicate about this through emails ([email protected]).
from quantum_neural_network_classifiers.
Hi, did you receive my email?
from quantum_neural_network_classifiers.
Yeah I received your email (for my edu mailbox, there are large delays in message delivery to receive emails from America)
You sent it at 2:00 am but I didn't see it at 2:40 am and then I went to sleep lol
from quantum_neural_network_classifiers.
Related Issues (3)
- TODO HOT 1
- Working version of example_encode on Mac M1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantum_neural_network_classifiers.