English

Exploring quantum weight enumerators from the $n$-qubit parallelized SWAP test

Quantum Physics 2025-11-18 v2

Abstract

Quantum weight enumerators are fundamental tools for analyzing quantum error-correcting codes and multipartite entanglement, offering insights into the existence of quantum error-correcting codes and kk-uniform states. In this work, we establish a connection between quantum weight enumerators and the nn-qubit parallelized SWAP test. We demonstrate that each shadow enumerator corresponds to a probability derived from this test, providing a physical interpretation for the shadow enumerators. Leveraging the non-negativity of these probabilities, we present an elegant proof for the shadow inequalities. Additionally, we show that the Shor-Laflamme weight enumerators and the Rains unitary enumerators can be calculated using the nn-qubit parallelized SWAP test. For applications, we utilize this test to compute the distances of quantum error-correcting codes, determine the kk-uniformity of pure states, and evaluate multipartite entanglement measures. Our results indicate that quantum weight enumerators can be efficiently estimated on quantum computers, opening a path to calculate and verify the distances of quantum error-correcting codes.

Cite

@article{arxiv.2406.18280,
  title  = {Exploring quantum weight enumerators from the $n$-qubit parallelized SWAP test},
  author = {Fei Shi and Kaiyi Guo and Xiande Zhang and Qi Zhao},
  journal= {arXiv preprint arXiv:2406.18280},
  year   = {2025}
}
R2 v1 2026-06-28T17:19:48.640Z