PennyLane v0.16 released

Category: release | Author: PennyLane team
We’re excited to announce PennyLane v0.16. This release comes with many new modules, features, and improvements. Some highlights are the new Fourier and kernels modules, resource estimation, new transforms, and new operations.

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.

How to add custom gates and templates to PennyLane

Category: how-to | Author: David Wierichs (Xanadu Resident)
Implementing your own gates in PennyLane does not require deep manipulation of the code base but is as easy as listing some core properties of the operation to be added. Even easier, you can construct your own templates to create structured special purpose circuits and simplify your workflow.

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 …

How to visualize quantum circuits in PennyLane

Category: how-to | Author: Yuan Yao (Xanadu Resident)
Already built your fancy quantum circuit and wanna have a look at it? PennyLane supports visualizing quantum circuits once you have defined them.

How to simulate noise with PennyLane

Category: how-to | Author: David Wakeham (Xanadu resident)
Near-term quantum devices are noisy, a fact we need to account for in our simulations. In this how-to guide, we give three simple methods for simulating noise: classical jitter, built-in PennyLane support for mixed states and quantum channels, and finally plugins to Cirq and Qiskit.

How to construct and load Hamiltonians in PennyLane

Category: how-to | Author: Roeland Wiersema (Xanadu Resident)
Constructing different types of Hamiltonians is easy in Pennylane. In this how-to, we will show you how to easily create Hamiltonians for problems in combinatorial optimization, quantum many-body physics and quantum chemistry.

How to parallelize QNode execution

Category: how-to | Author: Brian Doolittle (Xanadu resident)
In PennyLane, QNodeCollection execution can be parallelized across remote devices. In this how-to guide, we demonstrate the advantage of parallel execution through the example of qubit state tomography.

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 …

QHack QML Challenge Walkthrough: Variational Quantum Eigensolver

Category: qhack | Author: Olivia Di Matteo (PennyLane Team)
QHack 2021, the quantum machine learning (QML) hackathon, ran earlier this year from 17-26 February. A big portion of the event was the QML Challenge Leaderboard, where hundreds of teams raced to solve QML programming problems in order to claim hardware credits to help with their Open Hackathon projects. Solutions …

IonQ’s trapped ion hardware now available via PennyLane

Category: plugins | Author: PennyLane Team
We are excited to announce that PennyLane now natively supports quantum computing devices provided by IonQ! 🎉🍾 IonQ is the leading provider of quantum computers based on trapped ions. With long coherence times and all-to-all connectivity, trapped ions make a great hardware substrate for testing complex quantum computing algorithms, like those …

PennyLane v0.15 released

Category: release | Author: PennyLane team
We’re excited to announce PennyLane v0.15, which comes with many new and exciting features. These include a new hardware device integration, more flexible shot control, brand new operations, and new methods for working with more powerful quantum circuits.

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 …

QHack—the quantum machine learning hackathon

Category: qhack | Author: PennyLane Team
Part hackathon, part fan expo, part scientific conference, QHack offered a new kind of experience in the quantum space. Like all the best events, it had a teaser trailer, a vintage poster, its own theme music (imagine Daft Punk remixed the Knight Rider intro music), and a top-notch swag game …