Consider an $n$ qubit state $|\psi\rangle$. Let's say I want to implement an $m$ outcome orthogonal measurement on $|\psi\rangle$, where $m \neq n$. Denote the set of $m$ orthogonal measurement operators as
\begin{equation} \mathcal{M} = \{M_1, M_2, \ldots, M_m \}. \end{equation}
From the properties of orthogonal measurements, we know that:
- Each $M_i$ can be written as \begin{equation} M_i = \sum_{j = 1}^{k_i} |\lambda_j\rangle \langle \lambda_j|, \end{equation} for a certain choice of $k_i$, with each $|\lambda_j\rangle$ being a normalized pure state, and $\{|\lambda_j\rangle : j = \{1, 2, \ldots, k_i\}\}$ being an orthogonal set. It is also true that \begin{equation} \sum_{i = 1}^{m} k_i = 2^{n}. \end{equation}
- Additionally, $m \leq 2^{n}$.
Let us say we can only measure in the standard basis and we want to implement the measurement $\mathcal{M}$. Is it true that there always exists an $n$ unitary $U$ such that we can implement the measurement, without using any ancillary qubits, using the following recipe:
- Apply $U$ to the state $|\psi\rangle$.
- Measure $\log m$ qubits in the standard basis.
I do not have much intuition on whether or not ancillary qubits are necessary to implement general orthogonal measurements of the type I mentioned. If we consider an example of a famous orthogonal measurement --- the SWAP test (which projects onto either the $2$ dimensional symmetric or the $2$ dimensional antisymmetric subspace, which are orthogonal and span the whole space for $2$ dimensional systems) --- it seems to require ancillary qubits, in its most standard implementation.
Can we get rid of these ancillas?