Skip to content
  • About Me
  • Research Interests
  • Publications
  • Blog

Jarrod McClean

Life, Science, and More

Category: Code

Basic quantum circuit simulation in Python

Code Science August 17, 2016October 24, 2020 by jarrodmcc

I’ve always been a proponent of the idea that one of the best ways to learn about a topic is to code up a simple example that uses that idea/concept/algorithm.  In conversations I’ve had with students recently, I’ve realized there is some interest in playing with quantum computing, quantum circuits, and quantum simulation without a …

Continue Reading

A quick molecule in Processing.js and Python

Code Science Visualization February 6, 2016February 6, 2016 by jarrodmcc

As an extension to my last post on rendering Processing code in an IPython notebook, I thought it might be fun to play a bit with the 3D functionality and see how easy it would be to build an extremely basic molecule viewer! I didn’t spend much time polishing it, but the basic rendering turned …

Continue Reading

Processing.js in an IPython Notebook

Code Visualization January 14, 2016January 12, 2016 by jarrodmcc

I’ve been playing a bit with generative art recently, and in this domain the Processing language is a popular choice.  Processing allows fairly seamless creation of both 2D and 3D images as well as natural interactivity.  I had some interest in linking it with Python to make artistic renderings on the fly of work I …

Continue Reading

Simple bash-parallel commands in python

Code January 9, 2016January 9, 2016 by jarrodmcc

One of the benefits of using a primitive system like collections of flat files for data storage is the ability to trivially do work in parallel on them through the shell.  This seems to be a relatively common workflow in both computational and data science.  A quick Google search on the topic reveals a number …

Continue Reading

Integrating over the unitary group

Code Math Science October 14, 2015March 21, 2018 by jarrodmcc

Quantifying the volumes of different types of quantum states with respect to each other is an interesting tool for analysis that I’ve recently become interested in.  For example, did you know the volume of separable states is super-doubly-exponentially small with respect to all quantum states? That means that if I choose a state of 100 qubits …

Continue Reading
Twitter Linkedin
© 2025 Jarrod McClean – MinaLite theme by ZThemes