arXiv Science⌕ Search

arXiv · 2611.30275

Parallelizing Complex Matrix Multiplication: The 3M Solution

Abstract

We consider the problem of computing the product of two matrices with complex entries, a kernel used in quantum chemistry, electromagnetic simulation, quantum circuit simulation, and FFT-based methods. Standard practice already restructures the local computation using the classical \emph{3M} (Gauss/Karatsuba) identity, computing the product from three real matrix multiplications instead of four, dropping arithmetic by $25\%$ unconditionally but leaving communication unchanged. We show that whether 3M is worth doing at all, and whether it is additionally worth restructuring communication to get more of it by computing the three products \emph{in parallel} on disjoint processor groups, are independent questions, and we answer each in closed form under a standard $α$-$β$-$γ$ communication model. Under this model, for 2D layouts, in the large-$P$ limit, parallelizing the split reduces bandwidth by $13.4\%$ and latency by $1-1/\sqrt3\approx42.3\%$, the latter independent of the underlying algorithm's arithmetic exponent; neither reduction is achieved for 3D. For Strassen's algorithm the arithmetic picture reverses: restructuring locally is $7.1\%$ \emph{worse}, not better. We further generalize to Toom-Cook-$k$, giving a closed-form condition, increasing in $k$, under which higher-order splits rescue 3D layouts entirely: for instance, $k=3$ already makes 3D favorable for classical matrix multiplication, where the ordinary $k=2$ split never does.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yuval Spiizer. 2026-11-23. Parallelizing Complex Matrix Multiplication: The 3M Solution. https://arxiv.science/abs/2611.30275

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Vitrify Exact Learning: Gems, Issue 1 (November 2026)

Vitrify Exact Learning takes numerical values of a function and returns the linear differential equation with polynomial coefficients that annihilates it, with exact coefficients, together with the closed form that matches the values. This paper collects results obtained with it, and with integer relation searches (PSLQ) where stated, during November 2026, for which a search of the literature did not find the result. They are: a fourth-order differential equation, a partial differential equation and Appell, Kampé de Fériet and Horn forms for the density of the distance between two random points in an ellipse; the PBE exchange energy of the hydrogen atom in terms of the trilogarithm; the short-range (erf-attenuated) LDA exchange energy of the hydrogen atom as a $_5F_5$, and of every density $n_0 e^{-a r^p}$ with $3/p$ a whole number as a $_{j+2}F_{j+2}$; the second column of the Broadhurst-Roberts determinant of six-Bessel moments at level 24 as Eichler integrals of a weakly holomorphic modular form; exact states of a harmonic trap with soft Coulomb and Lorentzian terms; and the period of the planar $L_p$ dual Minkowski problem as a Fox $H$ and Meijer $G$ function. A second part reports known results that were recovered from numbers alone, and the errors in published sources that the comparison found: a misprinted coefficient in a four-loop banana equation, one wrong parameter in each of four closed forms for three-dimensional lattice Green functions, and a series expansion of the ellipse density that does not converge to it. Every identity is a numerical check, stated with the number of digits to which it holds; none is proved here.

cs.SC↗

Data-derived extrapolation priors for post-hoc Pareto reranking in symbolic regression

Pareto-selection criteria for symbolic regression-PySR'score, MDL, EIC, and Ramlan et al.'s penalties-evaluate candidate equations rather than their agreement with observed data. We introduce DDEP, a post-hoc reranker that assesses candidate equations by comparing their boundary derivatives with local-polynomial estimates from training data at $\partial D$. We also formalise the Pareto-impostor configuration, which describes equations that appear optimal under conventional criteria but poorly represent the data. On a 100-run SRBench ground-truth replication, DDEP shows no aggregate improvement over PySR (60% of runs achieve $R^2_{\mathrm{out}}>0.5$ for both; target-level results: 7 wins, 3 ties, and 10 losses). Impostors are more prevalent in SRBench (49/100) than in our self-constructed benchmark (22/100), suggesting lower boundary-derivative discriminability in Feynman/Strogatz families rather than rarity of the targeted regime. On a 100-run benchmark designed to contain impostors, DDEP outperforms PySR on 15/20 targets (sign test, $p=0.041$), increasing the fraction of runs with $R^2_{\mathrm{out}}>0.5$ from 14% to 34%. It is statistically indistinguishable from MDL and Ramlan et al.'s method, but combining DDEP with MDL ($λ=0.1$) strictly Pareto-dominates the better parent in 20/100 runs, supporting the complementarity of their extrinsic and intrinsic signals. In multidimensional evaluation, axis-aligned DDEP performs comparably to MDL and PySR, whereas its random-direction variant underperforms MDL ($p=0.012$). We therefore identify multidimensional generalisation as a current scope limitation.

cs.SC↗

A Generalisation of Goursat's Algorithm for Integration in Finite Terms

We give a self-contained, modern exposition of Édouard Goursat's 1887 note on pseudo-elliptic integrals --- integrals $\int F(t)\,\d t/\sqrt{R(t)}$ with $R$ a cubic or quartic polynomial that, despite living on a genus-$1$ curve, admit elementary antiderivatives --- and we develop the analogous theory for $\int F(t)\,\d t/R(t)^{1/3}$ and $\int F(t)\,\d t/R(t)^{2/3}$ with $R$ cubic or quadratic. The mechanism is the same in every case: a Möbius symmetry of the branch points lifts to automorphisms of the curve; a differential that is invariant under a lift \emph{with fixed points} is the pull-back of a rational differential and so integrates elementarily, while a differential invariant only under \emph{translations} descends to an isogenous curve, where nothing is gained. For cube roots, the order-$3$ Möbius map cycling the roots of $R$ splits the integrand into three eigenpieces; two are always elementary, and so is half of the third, by the involutions exchanging two roots. These criteria are sufficient, not necessary: the remaining piece is an instance of the original problem on an isomorphic curve. We therefore complement them with Hermite reduction, which removes exact parts and yields a rigorous certificate of non-elementarity whenever the residual differential is of the second kind. Finally we restate everything in terms of covariants of $R$ --- the resolvent cubic for square roots, the Hessian and the Jacobian covariant for cube roots --- so that neither the roots of $R$, nor roots of unity, nor fixed points are needed in computation.

cs.SC↗