English

Eulerian orientations and Hadamard codes: A novel connection via counting

Computational Complexity 2026-02-12 v2

Abstract

We discover a novel connection between two classical mathematical notions, Eulerian orientations and Hadamard codes by studying the counting problem of Eulerian orientations (\#EO) with local constraint functions imposed on vertices. We present two special classes of constraint functions and a chain reaction algorithm, and show that the \#EO problem defined by each class alone is polynomial-time solvable by the algorithm. These tractable classes of functions are defined inductively, and quite remarkably the base level of these classes is characterized perfectly by the well-known Hadamard code. Thus, we establish a novel connection between counting Eulerian orientations and coding theory. We also prove a \#P-hardness result for the \#EO problem when constraint functions from the two tractable classes appear together.

Keywords

Cite

@article{arxiv.2411.02612,
  title  = {Eulerian orientations and Hadamard codes: A novel connection via counting},
  author = {Shuai Shao and Zhuxiao Tang},
  journal= {arXiv preprint arXiv:2411.02612},
  year   = {2026}
}

Comments

23 pages, accepted by ITCS 2025

R2 v1 2026-06-28T19:48:11.103Z