Diagrammatic Design and Study of Ansätze for Quantum Machine Learning