paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CoTenN: Constrained Optimization with Tensor Networks

CoTenN:使用张量网络的约束优化
PLDI 10(PLDI)2026匹配度 2/10 · 论文属于 PL 中的 DSL/编译器方向,但研究内容是量子优化问题到张量网络的自动编译,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,因此与用户核心研究方向匹配度低。引用 0 inbox
Ritvik Sharma, Cheng Peng, Siddharth Dangwal, Sara Achour
crossref: 2026-09-10

AI 速览

一句话:提出 QCOP 抽象、约束语言 Masq 与编译器 CoTenN,将带硬约束的量子优化问题自动编译为张量网络并求基态。

物理系统模拟常需寻找哈密顿量的基态,且须满足对称性等硬约束。基于张量网络的本征求解器(如 DMRG)是经典计算机上的常用方法,但将约束优化问题编码为张量网络目前依赖人工,难以为新问题高效寻找编码。本文提出量子约束优化问题(QCOP)抽象,并给出首个可用张量网络实现的 QCOP 约束编程语言 Masq,以及自动将 Masq 程序映射为张量网络的编译器 CoTenN。作者用两个物理问题在 Masq 中建模,并用 CoTenN 求基态;结果显示生成的张量网络通常优于现有问题表述,跨运行取得 2.05×–53.32× 总加速,对无约束问题截断误差最多降低 2.49×10^7 倍。

问题
如何将带硬约束的量子约束优化问题(QCOP)高效、自动地编码为张量网络以求解基态,避免依赖人工设计编码。
方法
提出 QCOP 抽象、约束编程语言 Masq 及编译器 CoTenN,自动将 Masq 程序映射为低秩分解的张量网络。
评估
在 Masq 中建模两个物理问题,用 CoTenN 生成张量网络求基态,并与现有最优问题表述比较加速与截断误差。
原文摘要(Abstract)

Simulation of physics problems is one of the most important use cases of quantum computing. For this class of problems, the goal is typically to find the minimum energy state, or the ground state, of a physical system’s Hamiltonian. These problems frequently have constraints, such as symmetry conditions, which must also be satisfied. To solve such problems, researchers in computational physics use quantum-inspired algorithms that execute on classical computers. In particular, tensor network-based eigensolvers such as DMRG have become popular. However, to use these eigensolvers, the constrained optimization problem must first be encoded as a tensor network that implements a low-rank decomposition of the system’s Hamiltonian and state vector. These tensor network encodings are highly flexible, allowing for variables with ≥ 2 quantum states and supporting efficient constraint encodings that directly constrain the state vector. A critical challenge to developing tensor network-based encodings is that, currently, the encoding process is manual; significant effort is required to identify an efficient encoding for a new physics problem. In this work, we introduce a quantum constrained optimization problem (QCOP), a general abstraction for describing minimization problems over quantum variables that are subject to hard constraints. We present Masq, the first constraint programming language for QCOPs implementable with tensor networks, and CoTenN, a compiler that automatically maps QCOPs specified with Masq programs to tensor networks. To demonstrate the utility of Masq and CoTenN, we formulate two physics problems in Masq and then use CoTenN to find their ground states. We find the CoTenN-generated tensor networks generally outperform SOTA problem formulations, providing between 2.05×–53.32× total speedups across runs for QCOPs and yielding up to 2.49 · 10 7 × lower truncation errors for otherwise unconstrained problems.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{SharmaPDA26,
  title = {CoTenN: Constrained Optimization with Tensor Networks},
  author = {Ritvik Sharma and Cheng Peng and Siddharth Dangwal and Sara Achour},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {PLDI},
  year = {2026},
  doi = {10.1145/3808272}
}