Variational Quantum Computing: Optimization and Geometry