We propose a generalization of the graphical ZH calculus to qudits of prime-power dimensions , implementing field arithmetic in arbitrary finite fields. This is an extension of a previous result by Roy which implemented arithmetic of prime-sized fields; and an alternative to a result by de Beaudrap which extended the ZH to implement cyclic ring arithmetic in rather than field arithmetic in . We show this generalized ZH calculus to be universal over matrices with entries in the ring where is a th root of unity. As an illustration of the necessity of such an extension of ZH for field rather than cyclic ring arithmetic, we offer a graphical description and proof for a quantum algorithm for polynomial interpolation. This algorithm relies on the invertibility of multiplication, and therefore can only be described in a graphical language that implements field, rather than ring, multiplication.

生成讲解博客的中文版本

生成AI智能校验的中文版本