I am trying to write a simple circuit to understand the process of finding the set of parameters such that the cost function of that circuit in question is minimized. For that I understand one has to have a readout bit in order to calculate the cost function.

I have read on papers that through a control gate one can achieve this. My question is the following: do I have to have control gates as in between each step of the circuit (between the gates), or can I just apply the control gates at the end of circuit? Also: why is not advantageous to only use a readout bit instead of multiple readout bits?

  • $\begingroup$ what kind of cost function are we talking about? $\endgroup$
    – glS
    Jun 20, 2019 at 13:52


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.