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 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- limit, parallelizing the split reduces bandwidth by and latency by , 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 \emph{worse}, not better. We further generalize to Toom-Cook-, giving a closed-form condition, increasing in , under which higher-order splits rescue 3D layouts entirely: for instance, already makes 3D favorable for classical matrix multiplication, where the ordinary split never does.
Create a lesson
Related papers
Certified local rank and uniqueness barriers for a 48-term matrix-multiplication decomposition
Shared title terminologycs.SCAbhinav Agarwal
Fast matrix multiplication via recursive \langle 4x4x4:48 \rangle algorithms into practice
Shared title terminologycs.SCJean-Guillaume Dumas, Clément Pernet, Alexandre Sedoglavic et al.
SAT Certificates for the Matrix-Multiplication Challenges over F2: All Ten `Expected-UNSAT` Instances Are Satisfiable, and a Type-3-Free Rank-23 Scheme
Shared title terminologycs.SCNick Palladinos
A non-commutative algorithm for multiplying 4x4 matrices using 48 non-complex multiplications
Shared title terminologycs.SCJean-Guillaume Dumas, Clément Pernet, Alexandre Sedoglavic
Computing Smith Forms Modulo p^2 of Sparse Matrices Faster Than Matrix Multiplication
Shared title terminologycs.SCMark Giesbrecht
Complexity of Low-Degree Skew Polynomial Multiplication over Finite Fields
Shared title terminologycs.SCKe Ye, Yichuan Cao, Ruichen Qiu