Quantum Computing And Quantum Neural Networks: Their Foundation, Optimisation, And Application