Topological Defect Formation In Quantum Phase Transitions