Quantum Goemans-Williamson Algorithm with the Hadamard Test and Approximate Amplitude Constraints

Taylor L. Patti, Jean Kossaifi, Anima Anandkumar, Susanne F. Yelin

Introduction

Semidefinite Programming (SDP) serves as a foundational tool in optimization, particularly for deriving high-quality approximations for NP-hard combinatorial problems such as MaxCut. However, as the dimensionality $N$ of these problems increases, classical solvers—often reliant on interior-point methods—encounter significant computational and memory bottlenecks.

While quantum algorithms offer a potential path forward, they frequently grapple with a "measurement bottleneck." Variational quantum algorithms (VQAs) often require an exponential number of observables to fully characterize a system's state. Conversely, fault-tolerant quantum SDP solvers typically depend on complex techniques like Gibbs state preparation, which remain impractical for current hardware. This research introduces HTAAC-QSDP (Hadamard Test and Approximate Amplitude Constraint Quantum SDP), a middle-ground approach designed for Near-term Intermediate-Scale Quantum (NISQ) devices that maintains efficiency for high-dimensional problems.

Methodology

The HTAAC-QSDP framework innovates by reimagining how objective functions and constraints are handled within a quantum circuit. The algorithm utilizes only $n+1$ qubits to represent $N=2^n$ variables, achieving a logarithmic spatial compression.

Overview of the HTAAC-QSDP framework, including unitary objective encoding, population balancing, and circuit implementations.

Unitary Objective Encoding

Rather than performing tomography on a density matrix, the problem's weight matrix $W$ is encoded as the generator of a unitary operator $U_W = \exp(i\alpha W)$. By employing the Hadamard Test, the algorithm can estimate the entire objective function through the expectation value of a single ancilla qubit. This bypasses the need for individual component measurements.

Approximate Amplitude Constraints

For problems like MaxCut, the solution matrix must have a uniform diagonal (the unit diagonal constraint). In a quantum context, this translates to all state amplitudes having equal magnitude. HTAAC-QSDP avoids the overhead of $N$ individual constraints by enforcing a polynomial number ($O(n^2)$) of commuting Pauli-z string constraints. The authors demonstrate that limiting low-order correlations (e.g., $k \le 2$ or $k \le 4$) effectively regularizes the quantum state into a valid SDP solution.

Population Balancing

To ensure the optimizer does not unfairly favor specific high-weight vertices, a second Hadamard Test ($U_P$) is introduced for "population balancing." This term penalizes state imbalances, ensuring the relaxation remains representative across all variables.

Experimental Evaluation

The algorithm was benchmarked using the GSet library, a standard for MaxCut problems. Tests included:

  • G11, G12, G13: Toroid graphs with $\pm 1$ weights.
  • G14, G15: Skewed binary graphs (weights 0 and 1).
  • G20, G21: Skewed integer graphs (weights $\pm 1$).
  • G81: A large-scale 20,000-vertex graph, used to test the limits of the algorithm's scalability.

Key Results and Insights

The HTAAC-QSDP algorithm demonstrated performance commensurate with leading classical gradient-based SDP solvers. Across all tested graph types, the algorithm consistently exceeded the 0.878 MaxCut approximation ratio—the theoretical guarantee of the classical Goemans-Williamson algorithm.

A significant finding was the efficacy of "good enough" constraints. Enforcing only $k=2$ or $k=4$ order Pauli correlations proved sufficient to reach high-quality solutions, drastically reducing the complexity of constraint enforcement. Furthermore, the 20,000-vertex G81 graph simulation showcased remarkable scalability. While solving this classically requires approximately 10,000 CPUs/GPUs and over 500 teraFLOPs, the HTAAC-QSDP approach suggests such problems could be addressed with only 15-20 high-quality qubits.

Conclusion and Future Directions

While HTAAC-QSDP offers a promising path for NISQ-era optimization, challenges remain. The current study relied on high-performance simulators; real hardware implementation will face gate errors and decoherence that may affect the precision of the Hadamard Test. Additionally, the algorithm's performance is sensitive to hyperparameters like the evolution angle $\alpha$ and balancing constant $\beta$.

Future work may explore "natural time-evolution" in quantum simulators to implement objective encoding more efficiently than gate-based controlled unitaries. Expanding the "constraint engineering" approach to more complex SDPs beyond MaxCut will also be a critical area of research.

Summary updated

BibTeX
@article{patti2023quantum,
  author = {Taylor L. Patti and Jean Kossaifi and Anima Anandkumar and Susanne F. Yelin},
  title = {{Quantum Goemans-Williamson Algorithm with the Hadamard Test and Approximate Amplitude Constraints}},
  journal = {Quantum},
  year = {2023},
  doi = {10.22331/q-2023-07-12-1057},
}
Figure