English

Knuth-Bendix Completion Algorithm and Shuffle Algebras For Compiling NISQ Circuits

Quantum Physics 2019-05-02 v1

Abstract

Compiling quantum circuits lends itself to an elegant formulation in the language of rewriting systems on non commutative polynomial algebras QX\mathbb Q\langle X\rangle. The alphabet XX is the set of the allowed hardware 2-qubit gates. The set of gates that we wish to implement from XX are elements of a free monoid XX^* (obtained by concatenating the letters of XX). In this setting, compiling an idealized gate is equivalent to computing its unique normal form with respect to the rewriting system RQX\mathcal R\subset \mathbb Q\langle X\rangle that encodes the hardware constraints and capabilities. This system R\mathcal R is generated using two different mechanisms: 1) using the Knuth-Bendix completion algorithm on the algebra QX\mathbb Q\langle X\rangle, and 2) using the Buchberger algorithm on the shuffle algebra Q[L]\mathbb Q[L] where LL is the set of Lyndon words on XX.

Keywords

Cite

@article{arxiv.1905.00129,
  title  = {Knuth-Bendix Completion Algorithm and Shuffle Algebras For Compiling NISQ Circuits},
  author = {Raouf Dridi and Hedayat Alghassi and Sridhar Tayur},
  journal= {arXiv preprint arXiv:1905.00129},
  year   = {2019}
}

Comments

Key words: Quantum circuit compilation, NISQ computers, rewriting systems, Knuth-Bendix, Shuffle algebra, Lyndon words, Buchberger algorithm

R2 v1 2026-06-23T08:53:55.674Z