Method of Double Sweep and introduction to Quantum Computing