Preparation of Hamming-Weight-Preserving Quantum States with Log-Depth Quantum Circuits

arXiv:2508.14470 · quant-ph · Submitted 2025-08-20 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Quantum Radio. Generated commentary on the latest quantum physics and condensed matter papers.

Kai: Today's paper: "Preparation of Hamming-Weight-Preserving Quantum States with Log-Depth Quantum Circuits".

Mira: This paper addresses the fundamental challenge of preparing specific, non-uniform quantum states efficiently, focusing on Hamming-Weight-Preserving (HWP) states.

Kai: First, who's behind it and why it matters.

Title and authors: Kai: So, we're diving into the paper titled "Preparation of Hamming-Weight-Preserving Quantum States with Log-Depth Quantum Circuits." Mira, what are your initial thoughts on the title and who penned this research?

Mira: It’s a very specific title, focusing on preparing these Hamming-Weight-Preserving states using circuits that have logarithmic depth. The authors are Li, Tian, He, and Sun from the State Key Lab of Processors at Chinese Academy of Sciences and Huawei Taylor Lab in Shanghai.

Lev: From my perspective as someone who deals with real hardware constraints, a log-depth circuit sounds incredibly ambitious when you consider the noise we actually face on current quantum processors. I wonder if this depth claim holds up under realistic gate fidelities.

Kai: Exactly, Lev. The authors are aiming for something that's efficient in terms of circuit structure while still being practical for quantum machine learning applications where these states matter. It suggests they found a way to bypass the exponential resource requirements we usually see when preparing general states.

Mira: The authors are trying to show that for certain structured states, like the HWP states they define as psi H = P HW(x)=k alpha x x, we can achieve this low depth without needing an exponential number of ancillary qubits. It’s about optimizing the circuit complexity relative to the state's structure.

Lev: If they can keep the ancillary qubits polynomial, that makes it much more feasible for near-term quantum hardware setups, even if the depth is logarithmic. We need to see how they handle those polynomial qubit counts in practice.

Kai: It really is about showing that this isn't just a theoretical construct; it's a path toward preparing states efficiently for things like quantum machine learning tasks where these graph-structured states are important.

The paper's summary: Kai: Moving on to the actual summary of the paper, what is the core problem they are tackling here? How do these Hamming-Weight-Preserving quantum states fit into this preparation challenge?

Mira: Essentially, the authors define HWP states as those where the probability amplitude is proportional to a constant k times the Hamming weight of a basis state x, denoted as psi H = P HW(x)=k alpha x x. They argue that these states are particularly useful because they relate directly to simple undirected graphs when k=two which we call graph-structured states.

Lev: So, the fundamental task is designing a quantum circuit to produce this specific state from an initial simple input, and the paper claims they've found a way to do it with logarithmic depth and polynomial ancillary qubits.

Kai: Right, and they break the problem down by looking at two main cases: first, HWP states where k=two which are the graph-structured ones we discussed, and second, those where k is three or more.

Mira: For the k=two case—the simple graphs—they have concrete results. They show that for general graphs with n vertices and m edges, they can build a preparation circuit of depth "O(log n)" using "O(m) ancillary qubits".

Lev: O(log n) depth is much better than the exponential scaling we usually see, but what about the other structures they mention? Are there any states where they can do it without any extra ancillary qubits at all?

Kai: Yes, that's a key point. For tree-structured states and grid-structured states, they claim preparation can be done in "O(log n) depth without ancillary qubits". That’s quite efficient for those specific graph types.

Mira: And for the more complex HWP states where k at least three the paper shows they can achieve "O(log n k)-depth using O(n k) ancillary qubits" while maintaining a size complexity of "O(n k)".

Lev: That scaling for k at least three sounds more demanding on the qubit count, but the paper confirms these complexities align with the established lower bounds they've proven later in their work.

The paper's improvements: Kai: So, beyond just stating that it’s possible, what specific techniques did the authors employ to actually achieve this logarithmic depth? What are the mechanisms they used?

Mira: They point to several key techniques they developed to reach that low depth. They mention that "Chain-structured CNOT circuits admit log-depth implementations" and that "Fan-in and fan-out gates can be synthesized via log-depth CNOT circuits".

Lev: Those gate synthesis results are important because they show a structural property of the circuit itself, not just the overall depth. It suggests a way to build up complex interactions with limited sequential steps.

Kai: They also highlight that "Unary Encoding enables log-depth preparation of arbitrary states in unary form," which seems like it’s a powerful tool for mapping the desired state structure onto a simpler circuit architecture.

Mira: The paper details an algorithm, Algorithm one which involves three main steps: first, applying "Unary Encoding on ancillary qubits" using the weight of an edge divided by the square root of M; second, applying CNOT gates controlled by q j targeting q j1 and q j2 for every edge; and third, applying a Toffoli gate controlled by those two qubits targeting an ancilla qubit for every edge.

Lev: That algorithm feels very concrete; I can see exactly what kind of physical operations you'd need to implement those specific sequences on the hardware. The Toffoli gate application tied directly to the edges is where I think the complexity gets concentrated.

Kai: So, in short, their improvement lies in combining these structural circuit properties and encoding techniques into a systematic procedure for preparing these specific HWP states.

Conclusion: Kai: We've covered a lot about how the "Preparation of Hamming-Weight-Preserving Quantum States with Log-Depth Quantum Circuits" actually works, moving from defining the states to discussing the specific techniques used. So, what is your final assessment of its implications?

Mira: The main implication is that HWP states, especially those related to graph structures when k=two are now shown to be preparable with a circuit depth that scales logarithmically with n and polynomially with the ancillary qubits. This opens up a specific, efficient route for state preparation in quantum machine learning contexts.

Lev: From an error correction standpoint, if we can prepare these states efficiently, it means we have a more manageable starting point for running algorithms that might involve these graph-structured states on actual hardware with limited resources.

Kai: I think the impact is that this gives us a concrete target for designing quantum kernels or variational algorithms where the state preparation part doesn't explode in complexity, which is what we need for practical applications.

Mira: The authors are also explicitly stating their limitations. They mention that they haven't solved the issue of ancillary qubit minimization yet, meaning they don't know if HWP states can be prepared with fewer or zero ancillas while keeping that log-depth.

Lev: That is a significant open question; minimizing ancillas would make any practical implementation much more robust against decoherence, which is always a major concern when you're dealing with real quantum hardware.

Kai: So, to wrap up on this paper, the preparation of Hamming-Weight-Preserving Quantum States with Log-Depth Quantum Circuits shows that these specific states are one of the few where we can optimize the circuit depth to logarithmic levels with polynomial ancillary qubits. It’s a strong result for structuring how we approach quantum state preparation for machine learning algorithms.

Mira: It certainly sets a benchmark for what's achievable when dealing with structured states in this area of research, and I look forward to seeing how these results influence future work on more general non-uniform states.

Lev: I agree, the ability to prove these bounds provides a necessary foundation for knowing exactly how much computational overhead we are accepting when moving toward real quantum hardware implementations.

Yu Li, Guojing Tian, *Xiaoyu He†*, *Xiaoming Sun‡

State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences · University of Chinese Academy of Sciences · Huawei Taylor Lab

quant-ph

Submitted: 2025-08-20

Updated: 2026-09-29

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 90/100

The gist: This paper addresses the fundamental challenge of preparing specific, non-uniform quantum states efficiently, focusing on Hamming-Weight-Preserving (HWP) states.

Key concepts

Hamming-Weight-Preserving (HWP) States
These are specific quantum states where the probability amplitude is proportional to the constant k times the Hamming weight of a basis state x. They are particularly useful because they relate directly to simple undirected graphs when k equals two, known as graph-structured states.
Log-Depth Quantum Circuits
This refers to quantum circuits that have a circuit depth scaling logarithmically with the size of the input. The paper demonstrates that certain structured states can be prepared using such circuits, which is more efficient than the exponential resource requirements typically seen for preparing general quantum states.
Ancillary Qubits
These are extra qubits used in a quantum circuit to perform calculations or intermediate steps during state preparation. The paper shows that for HWP states, the number of ancillary qubits required can be polynomial, which is more feasible for near-term quantum hardware setups.
Graph-Structured States
These are HWP states where the constant k is equal to two. They are directly related to simple undirected graphs with n vertices and m edges. The paper provides concrete results for preparing these states using O(log n) depth and O(m) ancillary qubits.

Terminology

Summary

This paper addresses the fundamental challenge of preparing specific, non-uniform quantum states efficiently, focusing on Hamming-Weight-Preserving (HWP) states. Quantum state preparation (QSP) is a critical task in quantum computing, and while general state preparation circuits often require exponential ancillary qubits to achieve logarithmic depth, this work demonstrates that HWP states can be prepared with optimal depth using only polynomially many ancillary qubits. This finding is significant because it suggests a near-optimal efficiency for preparing states relevant to quantum machine learning, such as graph-structured states, by optimizing the circuit complexity relative to the state's structure.

Focus on Hamming-Weight-Preserving (HWP) States

The paper defines HWP states as those of the form: ψH⟩ = P HW(x)=k αx x⟩, where HW(x) is the Hamming Weight of x. These states are leveraged for their strength in quantum machine learning, especially when k=2, which corresponds to simple undirected graphs and are termed graph-structured states. The authors focus on solving the preparation problem for these states by analyzing two main cases:

  1. HWP states with k = 2 (graph-structured states).

  2. HWP states with k ≥ 3.

Preparation of Graph-Structured States (k=2)

For general graph-structured states defined by an undirected weighted graph G, the paper proposes algorithms to build preparation circuits of low depth. The results are categorized based on the graph structure:

  1. General graphs: Prepared in O(log n)-depth with O(m) ancillary qubits, where n is the number of vertices and m is the number of edges (Theorem 1).

  2. Tree-structured states: Can be prepared in O(log n)-depth without ancillary qubits (Theorem 2).

  3. Grid-structured states: Can also be prepared in O(log n)-depth without ancillary qubits (Theorem 3).

Preparation of HWP States with k ≥ 3

For HWP states where k ≥ 3, the paper shows that the preparation can be solved in O(log n k)-depth using O(n k) ancillary qubits, while maintaining a size complexity of O(n k). The authors confirm that these complexities exactly coincide with the lower bounds of Ω(log n k)-depth and Ω(n k)-size proven in later sections, confirming the near-optimal efficiency.

Key Techniques for Low-Depth Preparation

The paper outlines several key techniques used to achieve logarithmic depth:

)&Chain-structured CNOT circuits admit log-depth implementations.

)&Fan-in and fan-out gates can be synthesized via log-depth CNOT circuits.

)&Unary Encoding enables log-depth preparation of arbitrary states in unary form.

Algorithm for General Graph-Structured States

Algorithm 1 provides a procedure to prepare a general graph-structured quantum state with O(m) ancillary qubits and O(log n)-depth. The algorithm consists of three main steps:

  1. Applying Unary Encoding on ancillary qubits, where the coefficient of e'j E is the weight of ej divided by √M.

  2. Applying 2 CNOT gates both controlled by q'j, and targeting on qj1, qj2 respectively for every edge ej = vj1vj2.

  3. Applying a Toffoli gate controlled by qj1 and qj2, targeting on q'j for every edge ej = vj1vj2.

Lower Bound Results

The paper establishes rigorous lower bounds to confirm the optimality of their proposed algorithms:

)&Theorem 5 states that when using single- and double-qubit gates, almost all HWP states with parameters n and k need to be prepared in Ω(log n k)-depth and Ω(n k)-size, regardless of the number of ancillary qubits.

)&Theorem 6 confirms that for almost all graphs G, the circuit for preparing ψG⟩ needs Ω(log n)-depth and Ω(m)-size, regardless of the number of ancillary qubits.

Conclusion and Open Problems

The combined results show that HWP states can be prepared exactly by Θ log n k-depth circuits with O(n k) ancillary qubits, implying that these states are the currently only states, the preparation circuit depth of which can be optimized to logarithm with polynomial ancillary qubits. The discussion concludes by noting open challenges, including:

  1. Ancillary Qubit Minimization: Determining if HWP states can be prepared with fewer or zero ancillas while maintaining log-depth.

  2. Non-Uniform State Preparation: Investigating other practical non-uniform quantum states that admit log-depth preparation circuits with polynomially many ancillary qubits.

Improvements for AI systems

Here are the specific improvements that can be made to AI systems based on the findings of this scientific paper:

The core contribution of this work lies in demonstrating that certain structured quantum states, specifically Hamming-Weight-Preserving (HWP) states, can be prepared using circuits with depth logarithmic in the number of qubits and size polynomial in the Hamming Weight parameter. This suggests a pathway for developing highly efficient, hardware-aware quantum algorithms.

Here are the specific improvements and capabilities:

  1. Ultra-Efficient Quantum State Preparation (QSP) for QML

  2. Hardware-Efficient Quantum Kernels

  3. Optimized Variational Quantum Algorithms (VQAs)


  1. Ultra-Efficient Quantum State Preparation (QSP) for QML

  2. Hardware-Efficient Quantum Kernels

  3. Optimized Variational Quantum Algorithms (VQAs)

  4. Ultra-Efficient Quantum State Preparation (QSP) for QML

  5. Hardware-Efficient Quantum Kernels

Sources

Related papers