[Paper Review] Smaller Circuits for Arbitrary n-qubit Diagonal Computations
This paper presents a recursive, constructive quantum circuit synthesis algorithm for arbitrary n-qubit diagonal unitaries, achieving asymptotically optimal gate counts with exactly $2^{n+1} - 3$ controlled-not gates and single-qubit $R_z$ rotations. The method reduces circuit size by up to a factor of two compared to prior approaches and enables exact cancellation when the target is a tensor product of single-qubit $R_z$ gates.
A unitary operator U=\sum u_{j,k} |k> ; 0 <= j <= 2^n-1}. These relative phases are often required in applications. Constructing quantum circuits for diagonal computations using standard techniques requires either O(n^2 2^n) controlled-not gates and one-qubit Bloch sphere rotations or else O (n 2^n) such gates and a work qubit. This work provides a recursive, constructive procedure which inputs the matrix coefficients of U and outputs such a diagram containing 2^{n+1}-3 alternating controlled-not gates and one-qubit z-axis Bloch sphere rotations. Up to a factor of two, these circuits are the smallest possible. Moreover, should the computation U be a tensor of diagonal one-qubit computations of the form R_z(α)=e^{-i α/2}|0><0|+ e^{i α/2} |1><1|, then a cancellation of controlled-not gates reduces our circuit to that of an n-qubit tensor.
Motivation & Objective
- To develop a circuit synthesis algorithm for arbitrary n-qubit diagonal unitaries that achieves asymptotically optimal gate counts.
- To minimize the number of controlled-not (CNOT) gates and single-qubit rotations in quantum circuits for diagonal operations.
- To provide a recursive, constructive procedure that inputs matrix coefficients and outputs a quantum circuit diagram with provably minimal gate count.
- To enable exact cancellation of CNOT gates when the target unitary is a tensor product of single-qubit $R_z$ rotations.
- To establish theoretical bounds showing that the constructed circuits are within a factor of two of the theoretical minimum size.
Proposed method
- The algorithm uses a recursive decomposition based on a change of basis to a new set of basis states $v_j$, defined via subsets $S_j$ of qubit indices.
- It defines a matrix $\mathbf{\eta}^\Lambda$ that maps the phase vector $\vec{\psi}$ of the diagonal unitary to a vector $\vec{\alpha}$ of $R_z$ gate angles.
- The inverse of $\mathbf{\eta}^\Lambda$ is computed once and reused across multiple circuits, enabling efficient synthesis for any diagonal unitary.
- Controlled-$R_z$ gates $\Lambda_{S_j}[R_z(\alpha_j)]$ are applied in sequence to transform the input unitary into a tensor product of smaller diagonal matrices.
- The resulting unitary $\tilde{U}$ is a tensor product of two $n-1$-qubit diagonal matrices, enabling recursive circuit synthesis.
- The final circuit is constructed by applying the inverse sequence of $R_z$ gates and CNOT gates in reverse order, ensuring correctness via unitary invariance.
Experimental results
Research questions
- RQ1Can a recursive quantum circuit synthesis algorithm be constructed for arbitrary n-qubit diagonal unitaries that achieves asymptotically optimal gate counts?
- RQ2What is the minimal number of CNOT gates required to implement any n-qubit diagonal unitary, and can this bound be achieved?
- RQ3Under what conditions can CNOT gates cancel in the circuit, and how can this be exploited to reduce circuit depth and size?
- RQ4How can the phase structure of diagonal unitaries be transformed into a tensor product form via controlled-$R_z$ operations?
- RQ5Is the proposed circuit construction stable under parameter variation and closed under composition within the diagonal unitary group?
Key findings
- The algorithm constructs circuits with exactly $2^{n+1} - 3$ alternating CNOT gates and $n$ single-qubit $R_z$ rotations, achieving asymptotic optimality up to a factor of two.
- The gate count is optimal in the sense that no circuit can have fewer than $\Omega(2^n)$ CNOT gates for general diagonal unitaries.
- When the target unitary is a tensor product of single-qubit $R_z$ gates, the CNOT gates cancel completely, and the output circuit matches the input exactly.
- The matrix $\mathbf{\eta}^\Lambda$ is invertible, ensuring that every diagonal unitary can be uniquely decomposed into a sequence of controlled-$R_z$ gates and a smaller diagonal unitary.
- The algorithm is stable: all intermediate and final circuits remain within the group of diagonal unitaries under parameter variation of $R_z$ and $R_y$ gates.
- The construction is recursive and general, applicable to any $n$-qubit diagonal unitary specified by its phase vector $\vec{\psi}$, with a reusable inverse matrix $({\bf \eta}^\Lambda)^{-1}$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.