Giter Club home page Giter Club logo

Comments (5)

LWKJJONAK avatar LWKJJONAK commented on July 1, 2024

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.

erlebach avatar erlebach commented on July 1, 2024

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:

  1. how many measurements are typically needed on the quantum machine to get reliable results?
  2. If one needs N measurement repetitions, is it also necessary to prepare the input data N times?
  3. What is the cost of each repetition, including data preparation and running the quantum circuit?
  4. How does one run iteration loops on the quantum machine?
  5. Where can I read more about these kinds of details? Most papers do not mention them.

Thanks!

from quantum_neural_network_classifiers.

LWKJJONAK avatar LWKJJONAK commented on July 1, 2024

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.

erlebach avatar erlebach commented on July 1, 2024

Hi, did you receive my email?

from quantum_neural_network_classifiers.

LWKJJONAK avatar LWKJJONAK commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.