EntangledQuery
  • Threads
  • Categories
  • Users
  • Seminar
  • forum
  • group
  • theaters
  • search
  1. Threads
  2. Qiskit
chevron_left Qiskit

OpflowQNN optimization with forward and backward pass

  • forum 0 replies
  • last reply by JXW Sept. 9, 2021
  • Last
  • link
    JXW
    Members 19 posts
    Sept. 9, 2021, 9:50 a.m. Sept. 9, 2021, 9:50 a.m.
    link

    I am learning Quantum Machine Learning with qiskit OpflowQNN. I understand how to set up the problem with parametrized circuit and cost operator, following the example provided by qiskit github.com/Qiskit/qiskit-machine-learning/blob/main/docs/tutorials/01_neural_networks.ipynb

    I wonder how do I optimize the cost operator/function? Should I write a loop to perform forward qnn1.forward(input1, weights1) and backward qnn1.backward(input1, weights1) operations till the cost operator/function converge? Any examples?

There are no more posts in this thread.

  • EntangledQuery