Quantum geometric machine learning for quantum circuits and control