Quantum Verification Of Matrix Products In Algebra