Tag: qml

How to start learning quantum machine learning

Category: how-to | Author: Catalina Albornoz (PennyLane Team)
If machine learning is interesting, quantum machine learning (QML) is twice as interesting. It’s incredible that you can combine these two fields into one, and it is an area that has seen huge interest and growth in the past few years. In this blog post we will highlight some …

How to perform parameter initialization of PennyLane’s built-in templates

Category: how-to | Author: Elies Gil-Fuster (Xanadu Resident)
QML algorithms often involve a set of trainable parameters, in most cases, these parameters need to be initialized in a certain fashion before, say, starting a gradient descent. In this how-to, we’ll see how to do precisely that.

Using PennyLane and Strawberry Fields to run programs on Xanadu hardware

Category: how-to | Author: Jack Ceroni (Xanadu Resident)
One of the advantages of PennyLane is that it can be run on many different simulators and real quantum devices from a variety of external providers through our Plugins, as well as Xanadu’s own devices! In this how-to, we will show you how to create a simple program in …

Taking stock of quantum machine learning—a critical perspective

Category: videos | Author: PennyLane Team
PennyLane’s very own Maria Schuld recently gave a talk at the inaugural QML Meetup, summarizing some critical quantum machine learning insights. Check out the video below to learn why variational quantum models have a scaling problem, why the way we encode data must become more than an incidental choice …

Contributing to Pennylane with Jack Ceroni

Category: videos | Author: PennyLane Team
Interested in hearing more about what it’s like to develop PennyLane? On the latest Quantum Computing Now podcast, Ethan Hansen sits down with PennyLane developer Jack Ceroni to hear about his experiences getting started with quantum, how he got into quantum software development, and answer the question “what in …

How to build a model with chained QNodes

Category: how-to | Author: Josh Izaac (PennyLane team)
In PennyLane, we can easily construct VQE and QAOA-like models. However, the flexibility of PennyLane allows much more interesting models to be constructed. In this how-to, we’ll show you how to chain two QNodes together.

How to calculate the Hessian of a classical-quantum hybrid model

Category: how-to | Author: Josh Izaac (PennyLane Team)
PennyLane QNodes don’t just support computing the derivative—they also support computing the second derivative. Further, the second derivative can be computed on both simulators and quantum hardware. In this how-to, we’ll show you how you can extract the Hessian of a hybrid model using PennyLane in three …