Skip to main content
QUICK REVIEW

[论文解读] Compiling Quantum Regular Language States

Armando Bellante, Reinis Irmejs|arXiv (Cornell University)|Feb 2, 2026
Quantum Computing Algorithms and ArchitectureComputer Science被引用 0
一句话总结

本文提出一种用于正则语言状态(RLS)的量子态制备编译器,采用 DFA 到 MPS 的中间表示,并提供硬件感知后端 SeqRLSP 和 TreeRLSP,以实现高效的态制备。

ABSTRACT

State preparation compilers for quantum computers typically sit at two extremes: general-purpose routines that treat the target as an opaque amplitude vector, and bespoke constructions for a handful of well-known state families. We ask whether a compiler can instead accept simple, structure-aware specifications while providing predictable resource guarantees. We answer this by designing and implementing a quantum state-preparation compiler for regular language states (RLS): uniform superpositions over bitstrings accepted by a regular description, and their complements. Users describe the target state via (i) a finite set of bitstrings, (ii) a regular expression, or (iii) a deterministic finite automaton (DFA), optionally with a complement flag. By translating the input to a DFA, minimizing it, and mapping it to an optimal matrix product state (MPS), the compiler obtains an intermediate representation (IR) that exposes and compresses hidden structure. The efficient DFA representation and minimization offloads expensive linear algebra computation in exchange of simpler automata manipulations. The combination of the regular-language frontend and this IR gives concise specifications not only for RLS but also for their complements that might otherwise require exponentially large state descriptions. This enables state preparation of an RLS or its complement with the same asymptotic resources and compile time. We outline two hardware-aware backends: SeqRLSP, which yields linear-depth, ancilla-free circuits for linear nearest-neighbor architectures via sequential generation, and TreeRLSP, which achieves logarithmic depth on all-to-all connectivity via a tree tensor network. We prove depth and gate-count bounds scaling with the system size and the state's maximal Schmidt rank, and we give explicit compile-time bounds that expose the benefit of our approach. We implement and evaluate the pipeline.

研究动机与目标

  • 以可选的补集标志 Introduce a regular description for quantum state preparation (regex, DFA, or finite set) with an optional complement flag.
  • Develop an end-to-end compiler pipeline that maps regular descriptions to a DFA/MPS intermediate representation (IR).
  • Provide hardware-aware backends (SeqRLSP and TreeRLSP) to realize MPS-derived circuits on different connectivity graphs.
  • Prove resource bounds for circuit depth and gate counts that depend on system size and Schmidt rank, and analyze compile-time complexity.

提出的方法

  • Canonicalize user input to a minimal DFA.
  • Translate the DFA into an MPS to expose and compress structure.
  • Refine MPS tensors to optimize quantum operations and derive circuit realizations.
  • Implement two backends: SeqRLSP for linear nearest-neighbor architectures and TreeRLSP for all-to-all connectivity.
  • Prove bounds on depth and gates in terms of N and maximal Schmidt rank chi, and relate complements to base descriptions.
Figure 1 : (a) A schematic illustration of the general setting. It starts with a user, possibly without prior knowledge of the state’s name or structure, providing a description of the desired state—such as a set of strings, a regex, or a DFA, and (optionally) a complement flag—to the classical comp
Figure 1 : (a) A schematic illustration of the general setting. It starts with a user, possibly without prior knowledge of the state’s name or structure, providing a description of the desired state—such as a set of strings, a regex, or a DFA, and (optionally) a complement flag—to the classical comp

实验结果

研究问题

  • RQ1Can a structure-aware, regular-language-based description of target quantum states be compiled with predictable resource guarantees?
  • RQ2How can DFA minimization and MPS representations be leveraged to efficiently synthesize circuits for RLS and their complements?
  • RQ3What are the hardware-aware resource implications (depth, gate count, ancillae) for SeqRLSP and TreeRLSP backends?
  • RQ4Do complements incur at most a constant increase in entanglement (Schmidt rank) and hence same asymptotic quantum cost as base descriptions?
  • RQ5How does the DFA/MPS IR compare to general-purpose and specialized compilers in practice?

主要发现

  • A DFA-minimized, regular-language frontend can expose structure that enables compact MPS representations.
  • The compiler provides analogous resources for RLS and their complements, keeping asymptotic costs comparable.
  • Two backends yield different depth trade-offs: SeqRLSP achieves linear depth, TreeRLSP achieves logarithmic depth.
  • Resource bounds scale with system size and maximal Schmidt rank, with compile-time bounds demonstrated.
  • Evaluation benchmarks include Dicke, W states, random uniform superpositions, and complements, against baseline methods.
Figure 2 : Illustration of the left-to-right sequential SVD procedure. A right-to-left SVD sweep is performed analogously, by mirroring the procedure from the opposite boundary. Each resulting tensor $A_{[n]}^{L}$ is an isometry of size $\chi_{n-1}\times\chi_{n}$ , with $\chi_{n}\leq\min\{\chi,2^{n}
Figure 2 : Illustration of the left-to-right sequential SVD procedure. A right-to-left SVD sweep is performed analogously, by mirroring the procedure from the opposite boundary. Each resulting tensor $A_{[n]}^{L}$ is an isometry of size $\chi_{n-1}\times\chi_{n}$ , with $\chi_{n}\leq\min\{\chi,2^{n}

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。