2024-05-29Quanutm machine learning demos from pennylaneQubitrotationUsingqubitrotationexampletounderstandbasicsyntaxofpennylane,gradientdescent.Seethislinkformoredetails.importpennylaneasqmlfromjaximportnumpyasnpimportjaximportjaxoptdev1=qml.device("lightning.qubit&qu