Function gf2^5mult finds product of two elements of a field GF(25), a=a0+a1x+a2x2+a3x3+a4x4
and b=b0+b1x+b2x2+b3x3+b4x4
with the output, ab=c=c0+c1x+c2x2+c3x3+c4x4
written on the last 5 bits. Inputs a and b must remain unchanged.
Primitive polynomial | Picture | Machine-readable version | Model | Garbage | Gate count | Quantum cost | Author(s) | Date |
x5+x2+1 | here | here | CNT | 10 | 29 | 129 | D. Cheung, D. Maslov, J. Mathew, and D. K. Pradhan | July, 2010 |