Hi,

As we know, the quantum Fourier transform (QFT) allows us to efficiently add and multiply any two given numbers on a quantum computer or PennyLane simulator. Recently, I’ve been contemplating how I could extend this concept to perform addition and multiplication operations on matrices, particularly non-identity matrices of 2-by-2 or higher order. I’m curious about the types of circuits and quantum information that would be required for such operations.

Any assistance or insights on this matter would be greatly appreciated.

Best wishes!