Phirefly: hierarchical quantum haplotype phasing at the chromosome scale

Motivation: Read-based phasing links alleles on the same homologous haplotype. It plays a critical role in long-read variant calling and variant analysis. Many phasing algorithms have been developed. This includes QHap, the only quantum-inspired algorithm for read-based phasing. QHap does not run on quantum hardware due to the scale of the practical problems. Results: We developed Phirefly, the first practical quantum algorithm for read-based phasing with the key phasing step executed on quantum hardware. Phirefly uses a CPU-based algorithm to identify small disjoint groups of SNPs linked by strong, consistent read support. These groups are called phaselets and are easy to phase. To phase across phaselets, which is harder due to weak or conflicting read support, Phirefly locks the relative SNP phases within each phaselet and applies a quantum algorithm, effectively treating each phaselet as one heterozygous variant. Phirefly runs on physical quantum computers from D-Wave and IBM, as well as with a quantum-inspired classical solver using CPU or GPU. It achieves broadly comparable accuracy to QHap and mainstream phasing algorithms on HG002 datasets. Availability and implementation: https://github.com/wangyf1125/Phirefly

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-25
DOI
https://doi.org/10.64898/2026.11.24.768929
Primary Topic
Genomics and Phylogenetic Studies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Phirefly: hierarchical quantum haplotype phasing at the chromosome scale

Megan K. Le, Heng Li, Yifei Wang
bioRxiv (Cold Spring Harbor Laboratory)
Genomics and Phylogenetic Studies
preprint

Phirefly: hierarchical quantum haplotype phasing at the chromosome scale

Megan K. Le, Heng Li, Yifei Wang
preprint en

Abstract

Motivation: Read-based phasing links alleles on the same homologous haplotype. It plays a critical role in long-read variant calling and variant analysis. Many phasing algorithms have been developed. This includes QHap, the only quantum-inspired algorithm for read-based phasing. QHap does not run on quantum hardware due to the scale of the practical problems. Results: We developed Phirefly, the first practical quantum algorithm for read-based phasing with the key phasing step executed on quantum hardware. Phirefly uses a CPU-based algorithm to identify small disjoint groups of SNPs linked by strong, consistent read support. These groups are called phaselets and are easy to phase. To phase across phaselets, which is harder due to weak or conflicting read support, Phirefly locks the relative SNP phases within each phaselet and applies a quantum algorithm, effectively treating each phaselet as one heterozygous variant. Phirefly runs on physical quantum computers from D-Wave and IBM, as well as with a quantum-inspired classical solver using CPU or GPU. It achieves broadly comparable accuracy to QHap and mainstream phasing algorithms on HG002 datasets. Availability and implementation: https://github.com/wangyf1125/Phirefly

bioRxiv (Cold Spring Harbor Laboratory)
Harvard University (US), Yale University (US), Dana-Farber Cancer Institute (US), Dana-Farber/Harvard Cancer Center (US), Massachusetts Institute of Technology (US)
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon