Create a function circ(n) that returns an $n$-qubits quantum circuit that, when measured in the $Z^{\otimes n}$ basis, should yield the following expectation value:

$$\langle Z^{\otimes n} \rangle = \frac{J_{n-1}}{2^{n-1}}$$

where $J_{n}$ is the $n$-th Jacobsthal number.

  • 3
    $\begingroup$ What have you tried? $\endgroup$
    – epelaaez
    Oct 7 at 14:36
  • 1
    $\begingroup$ Could you please ask a question? You simply put before us some excercise, however, what is not clear to you about the excercise? $\endgroup$ Oct 7 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.