SUperman: Efficient Permanent Computation on GPUs
Abstract
The permanent is a function, defined for a square matrix, with applications in various domains including quantum computing, statistical physics, complexity theory, combinatorics, and graph theory. Its formula is similar to that of the determinant; however, unlike the determinant, its exact computation is #P-complete, i.e., there is no algorithm to compute the permanent in polynomial time unless P=NP. For an matrix, the fastest algorithm has a time complexity of . Although supercomputers have been employed for permanent computation before, there is no work and, more importantly, no publicly available software that leverages cutting-edge High-Performance Computing accelerators such as GPUs. In this work, we design, develop, and investigate the performance of SUperman, a complete software suite that can compute matrix permanents on multiple nodes/GPUs on a cluster while handling various matrix types, e.g., real/complex/binary and sparse/dense, etc., with a unique treatment for each type. SUperman run on a single Nvidia A100 GPU is up to faster than a state-of-the-art parallel algorithm on 44 Intel Xeon cores running at 2.10GHz. Leveraging 192 GPUs, SUperman computes the permanent of a matrix in 1.63 days, marking the largest reported permanent computation to date.
Keywords
Cite
@article{arxiv.2502.16577,
title = {SUperman: Efficient Permanent Computation on GPUs},
author = {Deniz Elbek and Fatih Taşyaran and Bora Uçar and Kamer Kaya},
journal= {arXiv preprint arXiv:2502.16577},
year = {2025}
}
Comments
38 pages, 8 figures, 5 tables, 4 algorithms, 31 references