Introducing Catalyst: quantum just-in-time compilation
Category: announcements | Author: Josh Izaac
Catalyst, our next-generation compilation engine, brings just-in-time compilation to quantum programming. Automatically compile hybrid programs for execution on CPUs, GPUs, and QPUs, and unlock new ways of programming quantum computers.

PennyLane v0.29 released
Category: release | Authors: Isaac De Vlugt, Thomas Bromley
PennyLane v0.29 is out, with features including pulse programming, trainable special unitary operations, new hardware-compatible gradient methods, and more.

QHack 2023 Coding Challenges Metastory
Category: announcements | Author: David Wakeham
Quantum coding challenges are back for QHack 2023, and they’re more exciting than ever. This year, you can help two intrepid heroes save the day in a galaxy-wide romp featuring lazy coworkers, photocopiers, timbits, and evil spin chains. Read on to learn more!

Welcome to QHack 2023!
Category: announcements | Author: Lara Watson
QHack 2023 is a free event running from February 13th–28th, and featuring top-notch scientific talks, an array of coding challenges and an open hackathon.

How to run big quantum circuits on small quantum computers in PennyLane
Category: how-to | Author: Radoica Draškić (Xanadu Resident)
Even with a small number of available qubits, large quantum circuits can be cut up into fragments and their results classically recombined into the desired, full computation. In this how-to we present a short introduction to making quantum circuit cuts in PennyLane.

How to choose your device
Category: How-to | Author: Aleksei Malyshev
Have you ever wanted to befriend a quantum computer or two? Join us at the PennyLane Device Zoo, a place where everybody can find the right device for their problem and make their code fly!

PennyLane v0.28 released
Category: release | Author: Isaac De Vlugt
PennyLane v0.28 is out, with features including custom measurements, ZX-calculus diagrams, PubChem database access, and more.

Computing adjoint gradients with Amazon Braket SV1
Category: announcements | Authors: Katharine Hyatt, Daniela Becker
Katharine Hyatt (Scientist @ Amazon Braket) and Daniela Becker (Senior Product Manager @ Amazon Braket) demonstrate how using the adjoint differentiation method on SV1 can deliver a strong performance improvement in finding molecular ground state energies.

PennyLane Code Camp wrap-up and highlights
Category: announcements | Author: PennyLane Team
In celebration of PennyLane’s fourth birthday, more than 800 coders from over 70 different countries joined us for the first-ever PennyLane Code Camp — a three-week virtual trip to the great outdoors — to tackle increasingly difficult quantum coding challenges and compete for prizes.

PennyLane v0.27 released
Category: release | Author: PennyLane team
PennyLane v0.27 is out, with features including downloadable quantum datasets, adaptive optimization, automatic interfacing, and more.

PennyLane Code Camp — A camp for coding pioneers
Category: announcements | Author: PennyLane Team
The PennyLane Code Camp, our virtual trip to the great outdoors has started! For the next three weeks, quantum coders will test their skills against increasingly difficult coding challenges to learn, earn badges and compete for prizes.

The quantum internet and variational quantum optimization
Category: research | Author: Brian Doolittle (Physics PhD Candidate @ UIUC)
We discuss how hybrid algorithms can help the design of quantum communication networks. To demonstrate, we share recent results from a collaboration between Xanadu and the University of Illinois at Urbana-Champaign, in which we show that variational quantum optimization can find maximally nonlocal correlations in noisy quantum networks.

How to execute quantum circuits in collections and batches
Category: how-to | Author: Carlos E. Lopetegui Gonzalez
In this how-to, we will learn about the best practices in PennyLane to deal with batches and collections of circuits.

How to get Device and Circuit Information
Category: how-to | Author: Anuj Apte (Xanadu resident)
The purpose of this article is to explain how to obtain information about devices and circuits using the qml.specs and qml.Tracker functions.

How to create your own device in PennyLane
Category: how-to | Author: Maurice Weber (Xanadu resident)
In this how-to we show how to use PennyLane to create your own custom devices with a simple one-qubit example.

PennyLane v0.26 released
Category: release | Author: PennyLane team
PennyLane v0.26 is out, with features including classical shadows, qutrits, the QNSPSA optimizer, and more.

How to use the Hartree-Fock method in PennyLane
Category: how-to | Author: Matija Medvidović (Xanadu resident)
Hartree-Fock is a standard classical state-preparation step for running quantum chemistry workflows. This post goes through how to make the process painless with PennyLane!

Give your feedback on the state of the art in quantum open source with the Unitary Fund Survey
Category: announcements | Author: Nathan Shammah
Unitary Fund would like to invite the PennyLane community to take the Quantum Open Source Software (QOSS) Survey. Help us collect a dataset representative of everyone who codes for quantum technologies, to better serve users of the quantum computing ecosystem.

PennyLane v0.25 released
Category: release | Author: PennyLane team
PennyLane v0.25 is out, with features including a resource estimation module, new measurements, differentiable error mitigation, upgrades to operator arithmetic, and more.

How to embed data into a quantum state
Category: how-to | Author: Isidor Schoch (Xanadu resident)
In this how-to, we will explore a few methods to encode different types of data in a quantum computer.

Lightning-fast simulations with PennyLane and the NVIDIA cuQuantum SDK
Category: technical | Author: Lee J. O'Riordan
Learn how PennyLane’s lightning.gpu device uses the NVIDIA cuQuantum SDK to speed up the simulation of quantum circuits.

How to create your own optimizer
Category: how-to | Author: Luis Mantilla (Xanadu resident)
In quantum machine learning (QML), we need to optimize parameters of a variational quantum ansatz to minimize some specified cost function. How we choose to optimize the parameters is one of the key steps of every QML workflow. Specifically, the choice of different optimizers can highly influence the parameters obtained after an optimization routine. For this reason, in this How-to blog, we will learn how to implement our own custom-built optimizer.

How to create and visualize a cluster state in FlamingPy
Category: how-to | Author: Joost Bus (Xanadu resident)
A short introduction to using FlamingPy for creating and visualizing cluster states that are relevant in measurement-based quantum computing.

How to do measurements in PennyLane
Category: how-to | Author: Joana Fraxanet (Xanadu Resident)
When using PennyLane to design quantum circuits we need to consider both the sequence of gates that we want to apply and also the kind of output that we want to obtain. At the end of the day, we will get back a quantity through a specific measurement. In this how-to, we go through the different type of measurements offered by PennyLane and we discuss when to use them.

PennyLane v0.24 released
Category: release | Author: PennyLane team
PennyLane v0.24 is out, with features including a brand new quantum information module, parameter broadcasting, improvements to the JAX JIT interface, and more.

How to choose your optimizer
Category: how-to | Author: Davide Castaldo (Xanadu resident)
Variational hybrid algorithms often task a quantum processor to prepare, parametrically, a quantum state and a classical computer to optimize these parameters. Whether you are looking for the ground state of a molecule or training a quantum neural network this how-to will guide you through the choice of the most convenient optimizer featured in PennyLane.

Amazon Braket Hybrid Jobs now supports PennyLane Lightning
Category: plugins | Author: PennyLane Team
We are excited to announce that our high-performance simulators lightning.qubit and lightning.gpu are now supported on Amazon Braket Hybrid Jobs! 🎉 With Amazon Braket Hybrid jobs, you can run hybrid algorithms using PennyLane without needing to manage the underlying infrastructure. Whether you’re using a notebook instance, a local …

PennyLane v0.23 released
Category: release | Author: PennyLane team
PennyLane v0.23 is out, with features including automatic circuit cutting, a unification of our quantum chemistry packages, new templates and compilation transforms, and more.

QHack 2022 - the one-of-a-kind celebration of quantum computing
Category: qhack | Author: Lara Watson
Every year, QHack brings together people from all over the world to celebrate quantum computing. QHack 2022 was bigger, better, and groovier than ever; featuring world-class live stream talks, coding challenges, an open-hackathon, a design competition, a meme contest, and life-changing prizes. Read on for: QHack 2022 at a glance …

PennyLane v0.22 released
Category: release | Author: PennyLane team
PennyLane v0.22 is out, with features including executing large circuits with fewer qubits, differentiable mid-circuit measurements, a new high-performance GPU simulator, tools for quantum debugging, and more.

Why measuring performance is our biggest blind spot in quantum machine learning
Category: qml | Author: Maria Schuld
Benchmarks, exponential speedups, expressivity…the question of how we measure if a quantum machine learning method is “good” can be a lot more tricky than one may think.

PennyLane v0.21 released
Category: release | Author: PennyLane team
PennyLane v0.21 is out, with methods to reduce qubit counts, experimental Qiskit Runtime support, improved quantum aware optimizers, better JAX support, and more.

PennyLane v0.20 released
Category: release | Author: PennyLane team
PennyLane v0.20 is out, with a new graphical circuit drawer, more quantum-aware optimizers, faster performance, smarter circuit decompositions, general hardware gradient support, and more.
Error mitigation with Mitiq and PennyLane
Category: announcements | Author: Mitiq and PennyLane teams
Announcing PennyLane and Mitiq integration for error mitigation of noisy circuits

Quantum computing for quantum chemistry: a brief perspective
Category: research | Author: Juan Miguel Arrazola (PennyLane Team)
We share two short lessons regarding the leading quantum algorithms for quantum chemistry: the variational quantum eigensolver and quantum phase estimation.
PennyLane v0.19 released
Category: release | Author: PennyLane team
PennyLane v0.19 is out, with an included differentiable Hartree-Fock solver, error mitigation using Mitiq, powerful new transforms, improved support for batch execution, and much more.
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 …

PennyLane v0.18 released
Category: release | Author: PennyLane team
PennyLane v0.18 is out, with an included high-performance simulator, backpropagation with PyTorch, improved quantum-aware optimizers, the ability to define custom quantum gradients, and much more.
PennyLane Code Together Wrap Up
Category: code together | Author: PennyLane Team
Wrapping up PennyLane: Code Together 🙌🙌 What a tight race it was! The contributors to Code Together were so excited about solving the issues that they raced head-to-head to the finish line to be the first to get their pull request merged. Some even managed to solve several issues. Something else …

How to write quantum function transforms in PennyLane
Category: how-to | Author: Olivia Di Matteo (PennyLane Team)
Quantum transforms are an exciting new feature of PennyLane. Learn how transforms can help you construct and manipulate quantum functions with ease!

PennyLane v0.17 released
Category: release | Author: PennyLane team
We’re excited to announce PennyLane v0.17. It’s more powerful than ever with support for circuit compilation routines, gradient transforms, Docker containerization, along with many new and improved templates, optimizers, and quality-of-life updates.
PennyLane Community Calls
Category: community calls | Author: PennyLane Team
Want to get involved with quantum open-source software, but don’t know how to begin? Good news: the PennyLane team will now be offering a regular series of community calls to help you on your journey. Each week, join the PennyLane dev team, along with our growing network of contributors …

PennyLane Code Together
Category: code together | Author: PennyLane Team
Announcing PennyLane: Code Together 🙌🙌 This is your chance to join the quantum software community, supercharge your coding skills, interact with the PennyLane team, and—most importantly—win some awesome swag! Join us on GitHub August 16th-27th. Participation is simple: be the first to solve an open issue with the label …

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: Josh Izaac
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 …
