Inner And Outer Product In Quantum Mechanics