I am still confused when I am trying to use the IBM Q composer to reproduce some quantum circuits I found in different papers, and I am wondering if it is because there are two ways to represent a multi-qubit state in a quantum circuit.
The multi-qubit state $|xy\rangle$ can be represented in a quantum circuit by
- putting the $|x\rangle$ qubit (left) on top, and the $|y\rangle$ one below, or by
- putting the $|y\rangle$ qubit (right) on top, and the $|x\rangle$ one below.
Is that correct?
- The convention of putting on top of the circuit the qubit that is the furthest to the left on the state, is called big-endian, while
- The convention of putting on top of the circuit the qubit that is the furthest to the right on the state, is called little-endian.
Is that correct?
IBM Q composer is putting the on top of the circuit the qubit that is the furthest to the right on the state, meaning it is using the little-endian representation of multi-qubit states.
Is that correct?