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

Abstract

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

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…