QICS: Quantum Information Conic Solver

Kerry He, James Saunderson, Hamza FawziarXiv 2024 · DOI

TL;DR

QICS (Quantum Information Conic Solver) is a new open-source Python solver designed specifically for the complex optimization problems found in quantum information theory. By combining high-performance algorithms for both symmetric and nonsymmetric cones with specialized "oracles" for quantum functions, it outperforms existing quantum relative entropy solvers and remains competitive with industry-standard semidefinite programming (SDP) tools.

What Problem Does This Paper Address?

In quantum information theory (QIT), researchers frequently need to solve optimization problems to calculate things like channel capacities, entanglement measures, or ground state energies. These problems often involve the quantum relative entropy—a mathematically "difficult" function that doesn't fit into the standard, symmetric cones (like the positive semidefinite cone) used by most traditional solvers.

Until now, researchers faced a dilemma: use general-purpose solvers that are slow and struggle with these specific quantum structures, or use specialized methods that require "lifting" complex Hermitian matrices into much larger real-valued matrices, which kills computational efficiency. QICS fills this gap by providing a solver that is both easy to use (Python-based) and mathematically optimized for the unique geometry of quantum mechanics.

Methods

QICS is a primal-dual interior point solver that utilizes a homogeneous self-dual embedding. Its "secret sauce" lies in how it handles different types of constraints:

  • Dual-Algorithm Approach: For standard symmetric cones (like SDPs), it uses the Nesterov-Todd algorithm, which is highly efficient and aggressive. For nonsymmetric cones (like quantum relative entropy), it switches to the Skajaa-Ye algorithm, which doesn't require an explicit "dual" barrier function—a major technical hurdle for quantum functions.
  • Efficient Cone Oracles: The authors derived and implemented high-performance "oracles" to calculate the gradients and Hessians (curvatures) of quantum functions.
  • Direct Hermitian Support: Most solvers only handle real numbers. QICS allows users to define problems directly over complex Hermitian matrices, avoiding the memory and time overhead of doubling matrix sizes.
  • Linear System Tricks: One of the main bottlenecks in these solvers is solving massive linear systems. QICS uses a clever block elimination strategy for the quantum relative entropy Hessian that is roughly 8 times faster than previous state-of-the-art implementations.

Datasets

The authors evaluated QICS using four distinct benchmark libraries, three of which were newly developed for this paper:

  1. SDPLIB: A standard industry library for sparse semidefinite programs.
  2. Quantum SDPs: A suite of 49 problems including state discrimination, fidelity, and diamond norm calculations.
  3. Quantum Relative Entropy (QRE) Programs: 144 problems covering nearest correlation matrices, entanglement entropy, and channel capacities.
  4. Noncommutative Perspective Programs: 48 problems involving D-optimal design and measured relative entropy.

Key Insights and Ideas

  • Slicing the Cone: The paper highlights that many QIT problems don't just use general relative entropy; they use specific "slices" of it (like conditional entropy). QICS implements specialized oracles for these slices, which are significantly faster than treating them as general cases.
  • Avoiding the Inverse: For certain complex cones, calculating the inverse Hessian is computationally brutal. QICS introduces a technique to solve an equivalent problem in a different subspace, effectively bypassing the need for the inverse Hessian-vector product.
  • Python Performance: By using Numba (a Just-In-Time compiler), the authors show that a Python-based solver can achieve performance comparable to compiled C++ solvers while remaining much more accessible to the research community.

Key Results

  • QRE Superiority: On the 144-problem QRE benchmark, QICS achieved a 100% success rate and was significantly faster than other solvers like Hypatia, DDS, or CVXQUAD.
  • SDP Competitiveness: In the SDPLIB tests, QICS was much faster than other open-source solvers (like CVXOPT) and was competitive with MOSEK, the commercial gold standard. On large graph problems (e.g., maxG60), QICS actually matched MOSEK's solve time (~2600 seconds).
  • Low-Accuracy Robustness: QICS proved particularly stable at finding "low-accuracy" solutions (useful for quick iterations) where other solvers often timed out or ran out of memory.

Limitations and Future Work

  • Presolver: Unlike some mature commercial solvers, QICS currently lacks a "presolver" to automatically simplify and reduce the size of a problem before the main algorithm starts.
  • Exponential Scaling: QIT problems scale exponentially with the number of qubits. While QICS is excellent for moderate sizes, the authors note that future versions may need to incorporate first-order methods or conjugate gradient techniques to handle truly massive-scale quantum systems.
  • Automatic Detection: Currently, users must manually choose the most efficient cone (e.g., choosing the "conditional entropy" cone over the general "relative entropy" cone). Automating this detection is a goal for future releases.

Summary updated

BibTeX
@misc{he2024qics,
  author = {Kerry He and James Saunderson and Hamza Fawzi},
  title = {{QICS: Quantum Information Conic Solver}},
  year = {2024},
  eprint = {2410.17803},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.17803},
}
Figure