Cited by 74Complexity and Algorithms in GraphsAdvanced Combinatorial MathematicsGraph Theory and Algorithms

A Faster Hafnian Formula for Complex Matrices and Its Benchmarking on a Supercomputer

Open access
Björklund, Andreas, Gupt, Brajesh, Quesada, Nicolás·2019·ACM Journal of Experimental Algorithmics

Abstract

We introduce new and simple algorithms for the calculation of the number of perfect matchings of complex weighted, undirected graphs with and without loops. Our compact formulas for the hafnian and loop hafnian of n × n complex matrices run in O ( n 3 2 n /2 ) time, are embarrassingly parallelizable and, to the best of our knowledge, are the fastest exact algorithms to compute these quantities. Despite our highly optimized algorithm, numerical benchmarks on the Titan supercomputer with matrices up to size 56 × 56 indicate that one would require the 288,000 CPUs of this machine for about 6 weeks to compute the hafnian of a 100 × 100 matrix.

Integrity signals

Registry

Crossref · 10.1145/3325111

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • A more general experiment where the mean of the Gaussian states is non-zero can be used to sample from the loop Hafnian.

    “A more general experiment instead, where the mean of the Gaussian states is non-zero, can be used to sample from the loop Hafnian (Björklund et al. , 2019).”

    From Noisy intermediate-scale quantum algorithms (2022) · cites this paper as Björklund et al., 2019

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Björklund, A., Gupt, B., & Quesada, N.
Affiliations
  • Lund University (SE)
  • Xanadu Quantum Technologies (Canada) (CA)
Venue
ACM Journal of Experimental Algorithmics
Published
2019-06-11
Volume
24
Pages
1-17
ISSN
1084-6654 (ISSN-L)
OpenAlex
W2806308536
Cited by
74
References
2
Citations by year
2026: 6 · 2025: 8 · 2024: 11 · 2023: 5 · 2022: 15 · 2021: 8 · 2020: 14 · 2019: 6 · 2018: 1
FWCI
7.31
Type
journal article
Language
en
Open access
Locations
  • ACM Journal of Experimental Algorithmics (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • Lund University Publications (Lund University) (submittedVersion)
  • PolyPublie (École Polytechnique de Montréal) (submittedVersion)
  • arXiv (Cornell University)
Funders
Office of Science of the U.S. Department of Energy (DE-AC05-00OR22725)
Topics
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Complexity and Algorithms in Graphs
  • Physical Sciences › Mathematics › Discrete Mathematics and Combinatorics › Advanced Combinatorial Mathematics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Graph Theory and Algorithms
Keywords
hafnian, perfect matchings, complex matrices, weighted undirected graphs, parallel algorithms, supercomputer benchmarking, computational complexity

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review