SMS dit: Quantum algorithms via linear algebra :