Building a vintage recipe rolodex with Python, Pelican, and Markdown.

I enjoy cooking. Not only that, but I enjoy complicated cooking — which can sometimes be a bit of a curse. A simple weeknight meal? Not interested. A week-long project to nail the ultimate Xiao Long Bao, Croissants, or homemade ramen? Sign me up! I become somewhat obsessive, reading cooking blogs …

What are quantum computers, and how can we train them in Python?

Earlier this year, I was lucky enough to give a talk on quantum computing and near-term quantum machine learning at PyCon 2021. I’ve always loved the PyCon and SciPy conferences; in fact, one of my earliest memories during the first month of my quantum computing job was watching A …

Recursive custom gradients in TensorFlow

Most autodifferentiation libraries, such as PyTorch, TensorFlow, Autograd — and even PennyLane in the quantum case — allow you to create new functions and register custom gradients that the autodiff framework makes use of during backpropagation. This is useful in several cases; perhaps you have a composite function with a gradient that …