All Questions
1 question
1
vote
1
answer
250
views
What is the formula for the matrix representation of a general controlled gate?
Suppose I have $n$-qubit circuit. I have a single-qubit gate (e.g. a Pauli gate) at qubit $a$ and it is controlled by the qubit $b$. What is the matrix representation for this controlled gate? The ...