Diagonal Walsh Operators
- Diagonal Walsh operators are a set of commuting, diagonal operators defined via Walsh functions that form an orthonormal basis for n-qubit diagonal matrices.
- They enable resource-efficient synthesis and precise encoding of functions like potential energy surfaces and CI wavefunctions without requiring ancilla qubits.
- Their application in quantum simulation and variational quantum configuration interaction provides scalable circuit depth and robust error control even for non-unitary operations.
Diagonal Walsh operators are a class of commuting, diagonal operators on qubit registers whose structure, basis, and circuit application are built from the theory of Walsh functions. They provide an orthonormal operator basis for the construction and efficient circuit synthesis of arbitrary diagonal unitaries and non-unitary diagonal operators on -qubit (or -qubit) Hilbert spaces, with direct implications for quantum simulation, variational quantum eigensolvers, and quantum chemistry. The construction of these operators and their resource-efficient compilation enable exact or approximate encoding of functions—such as potential energy surfaces or configuration interaction (CI) wavefunctions—without reliance on ancilla qubits and with favorable scaling in gate count and circuit depth (Welch et al., 2013, Aydoğan et al., 11 Jan 2026).
1. Mathematical Foundation: Walsh Functions and Operator Basis
Walsh functions are defined on the integers , written in binary as , , while has binary digits . The Paley-ordered Walsh functions are
or, equivalently, with inner product modulo 2,
where 0 index the basis elements.
The set 1 forms an orthonormal basis for all real-valued functions on bitstrings of length 2, satisfying
3
Promoted to operators on the 4-qubit Hilbert space, the diagonal Walsh operator is
5
where 6 is the Pauli-7 acting on the 8-th qubit. There are 9 such operators, each diagonal in the computational basis, with eigenvalues 0. The set 1 provides an orthonormal basis (under the Hilbert–Schmidt product) for all 2 diagonal matrices (Welch et al., 2013, Aydoğan et al., 11 Jan 2026).
2. Expansion and Synthesis of Diagonal Operators
Any diagonal operator 3 can be expanded in the Walsh basis: 4 For diagonal unitaries generated as 5, with 6 a real function on bitstrings, the unique Walsh expansion is
7
and the unitary decomposes as
8
Due to the commutativity of all 9, the ordering is irrelevant.
In quantum chemistry (e.g., variational quantum configuration interaction), CI amplitudes 0 can be encoded via the Walsh–Fourier decomposition, mapping each real amplitude into phases 1 on Pauli–2 strings (Aydoğan et al., 11 Jan 2026).
3. Resource-Efficient Circuit Realization
Each elementary diagonal Walsh operator 3 corresponds to a multi-controlled 4 rotation. The efficient decomposition proceeds by:
- Identifying the most significant nonzero bit 5 in 6.
- Applying 7 to qubit 8.
- For each other 9 with 0, surrounding 1 with a pair of CNOTs: control at 2, target at 3.
Optimizing the circuit, consecutive terms 4 in a Gray (sequency) order (where consecutive 5 differ by one bit) allow maximal CNOT cancellation, yielding a circuit of depth 6 for 7 terms (full expansion: 8 gates) (Welch et al., 2013).
For non-unitary diagonal operators encountered in VQCI, the operator 9 is embedded via a dilation into a larger unitary 0 on 1 qubits, implemented as a product over exponentials of commuting extended Walsh operators acting on both system and ancilla (AydoÄŸan et al., 11 Jan 2026).
4. Complexity, Scaling, and Sparse Approximations
Resource estimates are controlled by the number 2 of nonzero Walsh coefficients used in the expansion:
- Full expansion: 3 (all Walsh terms), gate-count 4.
- Approximate expansion (smooth 5): For 6-accurate approximation, 7 terms suffice, independent of 8 for 9.
- Sparse approximation: Retaining only largest 0 coefficients yields operator-norm error 1; gate count 2.
- CI encoding (minimal surjective set): Number of terms 3 for 4 selected determinants gives CNOT count 5; for partial expansion 6, CNOT count 7 (AydoÄŸan et al., 11 Jan 2026).
Ancilla-free realization is possible for unitaries; the block-ancilla construction appears only in the non-unitary (norm-not-preserving) VQCI context.
5. Applications in Quantum Simulation and VQCI
Diagonal Walsh operators provide highly efficient encoding mechanisms for major classes of quantum algorithms:
- Quantum simulation: Real-space simulation of Trotter steps 8, with sampled 9, maps directly onto sparse Walsh expansions. For the classical Eckart barrier problem, high-fidelity simulation (0) is achieved with circuit depth 1 and only 30 largest Walsh components for 2 qubits (Welch et al., 2013).
n(qubits) 3 (error) M (#terms) Gate count Simulation Fidelity 10 exact 1023 2045 1.00 8 ~5% 30 60 ~0.98 7 ~10% 19 38 ~0.91 6 ~15% 14 28 ~0.65 VQCI for electronic structure: By an initial Dicke or quantum-walk state-preparation, followed by Walsh-encoded diagonal CI amplitude block, the entire configuration interaction (CI) space is compiled with gate counts 4–5 (for 6 determinants), enabling practical scaling to large systems. Fidelity benchmarks for H7, H8, H9O, LiH, BeH0, NH1 confirm chemical accuracy and outperform coupled-cluster in strongly correlated regimes (Aydoğan et al., 11 Jan 2026).
Molecule Qubits Determinants 2 Subspace Prep CNOTs Walsh Ansatz CNOTs Total H3 12 400 52 726 778 H4 16 5 391 8756 9147 LiH 12 400 96 520 616 NH6 16 7 218 7530 7748
This construction precludes barren-plateau trainability issues: the commuting nature of Walsh operators ensures the absence of 2-design structure in the ansatz.
6. Contextual Significance and Limitations
The resource scaling and modularity of diagonal Walsh operator schemes address a major barrier in quantum algorithm design—efficient implementation of diagonal operations, historically resource-bottlenecked and often requiring many ancilla qubits. The approach's absence of overparameterization and resilience to trainability plateaus (as seen in unitary coupled-cluster circuits) are central to its adoption in contemporary quantum algorithms in chemistry and other fields (Aydoğan et al., 11 Jan 2026).
A plausible implication is that as quantum devices scale beyond 8 qubits and as determinant subspace selection for CI becomes dominant in practical simulations, the advantages of Walsh operator sparsity and circuit efficiency could be increasingly central in quantum-classical hybrid methodologies.
7. References and Research Trajectory
The foundational construction and ancilla-free circuit compilation of diagonal unitaries using the Walsh basis were established in Welch, Greenbaum, Mostame, and Aspuru-Guzik (Welch et al., 2013), and systematically extended to non-unitary, full and partial CI encoding in variational quantum chemistry (VQCI) by AydoÄŸan, Gross, and coauthors (AydoÄŸan et al., 11 Jan 2026). As quantum algorithms for simulation and eigensolving evolve, the diagonal Walsh operator formalism continues to underpin efficient, scalable approaches to problems where diagonal structure and classical decomposability coincide with quantum resource constraints.
Key References:
Welch, Greenbaum, Mostame, Aspuru-Guzik, "Efficient Quantum Circuits for Diagonal Unitaries Without Ancillas" (Welch et al., 2013)
- AydoÄŸan, Gross et al., "Subspace Selected Variational Quantum Configuration Interaction with a Partial Walsh Series" (AydoÄŸan et al., 11 Jan 2026)