Skip to main content

All Questions

Filter by
Sorted by
Tagged with
6 votes
2 answers
1k views

How to perform a controlled Pauli string rotation gate?

I would like to know some circuit decomposition for an arbitrary controlled Pauli string rotation: \begin{equation} |0\rangle\langle 0| \otimes e^{i \theta (P_1\otimes...\otimes P_n)}+ |1\rangle\...
Pablo's user avatar
  • 583
6 votes
3 answers
120 views

How to create the state $\vert 0 \rangle+i \vert 1 \rangle$ using elementary gates?

I am trying to write $|0\rangle+i|1\rangle$ in terms of elementary gates like H, CNOT, Pauli Y, using the IBM QE circuit composer. I was thinking some kind of combination of H and Y since $Y|0\rangle=...
Natasha's user avatar
  • 121