Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
user1747134's user avatar