About This Page
This is an unsupervised machine learning model I've written from scratch running directly in your browser. Every matrix operation has been optimized to run in the TypeScript file, 100% on your computer. The model only sees where your mouse was 5 seconds ago (if on mobile, the last place you've tapped) and calculates its best prediction (in blue) of where your mouse currently is (in white).
The background is actually a direct projection of the bias matrix that runs the majority of the program's functionality. Look at how the entries change over time!
Try moving your mouse in a regular pattern and see how the prediction model adapts.
Research
These days, most of my time goes into two research projects: laser cooling and trapping ytterbium atoms for an optical atomic clock, and building a quantum magnetometer out of diamond on a single circuit board. Both have pushed me way outside of what I learned in class, and I've had a lot of fun with them. Here's what I've been up to.
Magneto-Optical Trapping of Ytterbium-174
Braverman Group, University of Toronto
My biggest project right now is in the Braverman group at UofT, where we're building a three-photon optical atomic clock out of neutral ytterbium-174. Before you can build a clock out of atoms though, you have to catch them. The first stage is a magneto-optical trap (MOT): six beams of 399 nm laser light and a pair of magnetic coils that work together to slow down a beam of hot ytterbium atoms coming out of an oven and hold them in a tiny cloud at the centre of a vacuum chamber, cooled to under a millikelvin.
I've worked on a lot of the pieces of this: characterizing the 399 nm cooling laser and writing the software that locks its frequency, designing the cooling beam optics, and designing and characterizing the MOT coils. Most of my summer (and my ROP thesis) went into simulating the whole experiment end to end, starting from the vapour pressure in the oven, through a Monte Carlo simulation of the 81-channel nozzle, and into the trap, including the magnetic field and laser cooling. This simulation let us test 1000s of MOT configurations to optimize the geometry of the nozzle, the optical power and detuning of the MOT beams, and the current through the anti-Helmholtz coils. This means 8 hours of simulation can save hundreds of hours of lab work.


On the left is spectroscopy of our atom beam: as we sweep the laser's frequency, each bright stripe is a different isotope of ytterbium lighting up (the frequency axis shows the 798 nm seed laser, before it gets frequency-doubled to 399 nm). On the right is the real thing: the violet glow of ytterbium atoms fluorescing in our 399 nm laser light.
Spectroscopy like this is how we tested the model: the measured Doppler shift across our actual atom beam matches my simulation to within 6%, and the Doppler broadening matches to within 2%.

Here's that comparison at a plane 90 mm from the nozzle, with my simulation in blue and the measured spectroscopy in purple. On the left is the Doppler shift across the beam (6.85 vs 6.45 MHz/mm), and on the right is how much the line broadens as you move off-centre (2.80 vs 2.75 MHz/mm).

Here you can see the simulated atom beam as it reaches the trap, 344 mm from the nozzle. Panel (a) is the atomic flux distribution, (b) is the fraction of those atoms the simulated MOT actually catches at each point, and (c) is the capture map weighted by the flux distribution. Panel (d) is the capture velocity across the beam. To the best of my knowledge, this is (as of 2026) the only spatially resolved simulation of Magneto-Optical Trap loading for ytterbium.
Opto-Optical Trapping with the AC Stark Shift
Braverman Group, University of Toronto
More recently, I've started simulating the group's next project: an opto-optical trap (OOT). The idea is to get rid of the MOT coils entirely. A MOT works because the magnetic field gradient shifts the atoms' energy levels by an amount that depends on their position. In an OOT, a set of detuned "shift beams" at 1077 nm do the same job with light instead, using the AC Stark shift. The shift beams move the atoms' energy levels by a position-dependent amount, which to the atom acts just like the quadrupole field from a pair of MOT coils, while the same cooling beams handle the actual trapping.
So why bother? Coils for magnetic fields are cumbersome. Real coils take a long time to turn off, and a clock can't make its measurement until the field is gone. Shift beams can be switched off with an acousto-optic modulator in about 100 ns, which is far faster than even the best coils. It's also much more scalable: an array of MOTs would need a complex system of coils for the magnetic field, but an array of OOTs only needs more light, which makes scaling these systems much easier for applications like neutral atom qubits in quantum computers. You can read more in our group's DAMOP 2026 abstract.

This is the effective field of the shift beams at our current design point. From left to right: a top-down view of the trap, the vertical plane containing the atom beam, and line cuts through the trap centre. This allowed me to fully simulate the Opto-Optical Trapping of ytterbium, which you can see below.

Efficiently simulating the Opto-Optical Trapping of ytterbium atoms is a big part of my research. The benefit of this simulation is that we can search through 1000s of trap configurations to find an optimal setup before even aligning any optics.
Single-Board NV Diamond Magnetometer
University of Toronto Quantum Computing Club
My other research project is with the UofT Quantum Computing Club, where I'm on a team building a nitrogen-vacancy (NV) diamond magnetometer. NV centres are tiny defects in a diamond's crystal lattice whose spin states you can read out with a laser at room temperature. Because they point along four different crystal axes, a single diamond can measure both the strength and the direction of a magnetic field. The drawback is that most NV vector magnetometers today are built from bulky, multi-board, lab-grade equipment.
Our goal is to fit the whole thing (laser excitation, microwave generation and delivery, the bias magnetic field, photodetection, and control) onto one planar PCB using off-the-shelf parts and an open-source design. We used electromagnetic simulations (on Ansys) to pick a microstrip ring antenna for driving the NV spins, co-designed with its on-board impedance matching, and we'll be characterizing the finished board with optically detected magnetic resonance (ODMR) and full three-axis field reconstruction. We'll be presenting this at SPIE Quantum West this February, with a paper on the way. Coming from atomic physics, this has been a great way to learn about RF design!

Here's our current PCB design for the sensor board. This first iteration aims to improve on Quantum Village's design.
Publications & Talks
Upcoming
An Embedded Planar Single-Board NV Vector Magnetometer
SPIE Photonics West, Quantum West · San Francisco · February 2027
Paper in preparation
Ytterbium-174 Magneto-Optical and Opto-Optical Trapping
SPIE Photonics West, Quantum West · San Francisco · February 2027
Past
Spatially Resolved Simulation of an Ytterbium-174 Magneto-Optical Trap
TUCAN (Toronto Ultra-Cold Atom Network)
Spatially Resolved Simulation of an Ytterbium-174 Magneto-Optical Trap
ROP Research Poster Fair · University of Toronto
Curious about the code side of things? Check out my projects page.