Skip to main content
PuraVibaStart a project

Practice area

Physics, simulation & quantum computing

GPU simulation, numerical methods and quantum computing research, by a PhD physicist.

Capability areas

What PuraViba takes on in research and development, and what each area rests on: the founder’s own experience, or a working example on this site.

  • GPU and parallel simulation

    Simulation codes for problems that are too large or too slow for one CPU: CUDA kernels, work spread across several GPUs, and checks of the parallel result against a reference you trust.

    For his doctorate, Jasper Taylor developed a CUDA-based algorithm that simulates spin-2 Bose-Einstein condensates across arrays of GPUs.

  • Numerical methods and time-stepping solvers

    Choosing and implementing the scheme that fits the equation, stepping the system forward in time inside the limit where the scheme is stable, and testing the result against cases with known answers, so that what is on screen is a solution and not an illustration.

    The water behind this site is a small example: the two-dimensional wave equation, advanced in fixed time steps that are kept inside the scheme’s stability limit.

  • Quantum computing research

    Research software for quantum systems, such as simulation, analysis and visualization, and tools that make quantum ideas concrete enough to work with.

    His doctoral research, from 2015 to 2020, was done in the quantum computing group at the University of Hawaii at Manoa. Quantum Chess, on the Work page, turns superposition and measurement into the rules of a playable game.

  • Experimental cold-atom background

    Not a service in itself, but it shapes the software: simulation and analysis code written by someone who has worked on the apparatus, and knows what a measurement can and cannot show.

    In the same group he helped set up and operate the system that produced and imaged spin-2 rubidium-87 Bose-Einstein condensates, working with lasers, magneto-optical traps, vacuum systems and imaging pipelines, and contributed to the first condensates produced at the University of Hawaii.

  • Doctoral dissertation

    Jasper Taylor’s PhD research, at the University of Hawaii at Manoa, was the GPU simulation of spin-2 Bose-Einstein condensates: a CUDA-based algorithm that runs across arrays of GPUs. The dissertation is public in the university’s ScholarSpace repository.

    Read the dissertation on ScholarSpace

Live simulations

The simulations on this page are real numerical solvers running in your browser.

Nothing here is a recording: each one advances its equation step by step on your device and responds to its controls. With motion paused, reduced motion requested or no WebGL, you see still diagrams instead.

Simulation 1 of 4

Ripple tank

Two sources tap the water in step and each sends out circular waves. Where a crest from one meets a trough from the other the surface stays still, along curved nodal lines that you can move with the sliders.

dashed: nodal lines

Still diagram. The live solver needs JavaScript and starts once this panel is on screen.

Grid 256 × 256 cells, Δx = 1 cell, Δt = 1 step, wave speed 0.5 cells per step, 60 steps per second. The sandy border is the absorbing layer, 24 cells wide.

Controls

48 cells = 3.0 λ
16 cells
0° ahead
Show

Live readouts

Courant number C
0.500
limit 0.707
Source period
32.2 steps
1.87 Hz on screen
Nodal lines predicted
6
from the path-difference rule
Grid anisotropy
0.32%
diagonal waves run this much faster
Steps taken
n/a
Wave energy in the tank
n/a
levels off: sources in, beach out

Governing equation

∂2u∂t2=c2∇2u+s(x,t)

u is the height of the surface, c the wave speed and s the two sources. Nodal lines lie where the distances to the sources differ by a whole number of wavelengths plus a half (shifted by the phase).

Numerical method

Explicit leapfrog: second-order central differences in space and time, one fragment-shader pass per step on 32-bit floating-point textures.

The sources are forcing terms. A graded damping layer at the edge plays the part of a tank’s beach, so nothing reflects back.

Stability

C=c⁢ΔtΔx≤12

Here C = 0.50, 71% of the limit. Above it the shortest waves on the grid grow without bound.

The source frequency comes from the grid’s own dispersion relation, so the wavelength on the grid is the one on the slider.

Why it matters. The same explicit wave solver, with the same stability analysis, carries over to acoustics, ultrasound, seismic and antenna problems, where interference decides where the energy goes.

Simulation 2 of 4

Double-slit diffraction

A plane wave meets a wall with one or two openings, and each opening acts as a new source. Behind the wall the waves overlap into bright and dark fringes, measured here on a detector line and compared with the textbook formula.

detector lineplane wave in
Intensity on the detector linefar-field formula

Position along the detector, in cells from the center line. Each curve is scaled to its own maximum.

Fringe positions as a table
Bright fringes: far-field prediction and simulated position, in cells from the center
Order mFar fieldSimulated
−2−95.9not yet
−1−41.5not yet
00.0not yet
141.5not yet
295.9not yet

Still diagram. The live solver needs JavaScript and starts once this panel is on screen.

Grid 256 × 256 cells, Δx = 1 cell, Δt = 1 step, wave speed 0.5 cells per step, 60 steps per second. Wall 4 cells thick; intensity is a running mean of u² over 8 periods.

Controls

Openings
10 cells
36 cells = 3.6 λ
6 cells = 0.6 λ

Live readouts

Courant number C
0.500
limit 0.707
Wall to detector L
143.5 cells
Fringe spacing, formula
39.9 cells
λL / d; 41.5 without the small-angle step
Fringe spacing, simulated
n/a
Fresnel number N
0.31
far field needs N ≪ 1
Steps taken
n/a

Governing equation

∂2u∂t2=c2∇2u+s(x,t)
u=0on the wall

The wall is a boundary condition, not a drawing: the field is held at zero there, which makes it a perfect reflector. s is the line source that launches the plane wave.

Numerical method

The same leapfrog solver as the ripple tank. The detector row is read back from the GPU a few times a second and plotted under the tank.

The dashed curve is the far-field (Fraunhofer) pattern of the same slits; its bright fringes are spaced

Δy=λ⁢Ld

Stability

C=c⁢ΔtΔx≤12

Here C = 0.50. The far-field formula is a separate approximation; it holds when the detector is far away and angles are small:

N=(d+a)24⁢λ⁢L≪1

Now N = 0.31, so the curves agree near the center and drift apart toward the edges.

Why it matters. A solver is only useful once it has been checked against a case with a known answer; this is that check, run in front of you, with the range of validity stated.

Simulation 3 of 4

Point-vortex dynamics

Each vortex is carried along by the swirl of all the others, so a handful of them can orbit, travel as a pair or leapfrog. The white streaks are passive tracers that follow the flow and make it visible.

++−−+ anticlockwise, − clockwise

Still diagram. The live solver needs JavaScript and starts once this panel is on screen.

No grid: 4 vortices and up to 1,600 tracers move freely in an unbounded plane. Fixed step h = 0.005 in units of L²/Γ (L = half the view width), core radius rc = 0.04 L.

Controls

Preset

Two pairs on one axis: the rear pair narrows, speeds up and slips through the front one, which widens and slows, again and again.

0.005

Live readouts

Step h
0.005
160 steps per second
hΩ at the cores
0.50
RK4 limit 2.83
Circulation ΣΓ
n/a
Linear impulse (Pₓ, Pᵧ)
n/a
Interaction energy H
n/a
Time
n/a

Governing equation

dxidt=∑j≠iΓj2πẑ×rijrij2(1−e−rij2/rc2)

Γ is a vortex’s circulation and rij the vector between two vortices. The last factor is the Lamb-Oseen core: it removes the infinite speed at the center of an ideal point vortex.

Numerical method

Classical fourth-order Runge-Kutta with a fixed step, applied to the vortices and the tracers as one system.

Circulation cannot change (the strengths are fixed). Any Runge-Kutta method keeps linear impulse to rounding. Energy is not protected: its drift shrinks as h⁴ and is the honest measure of the error. Raise h and watch it grow.

Stability

h⁢Ω<22≈2.83

Ω is the fastest rotation rate in the flow, Γ / (2π rc²) at a core. Now hΩ = 0.50, inside the limit.

Why it matters. Vortex methods of this kind model wakes, mixing and rotor flows; tracking how far the conserved quantities drift is how one knows whether a long run can be trusted.

Simulation 4 of 4

Schrödinger wave packet

A quantum particle is described by a wave packet whose brightness here is the probability of finding it. Sent at a double slit it interferes with itself; sent at a thin barrier taller than its energy, part of it still gets through.

wall with two slits

Still diagram. The live solver needs JavaScript and starts once this panel is on screen.

Grid 256 × 256 cells, Δx = 1, ℏ = m = 1, Δt = 0.25, 240 steps per second. Brightness is |ψ|² relative to its current peak (square-root scale), color is phase. The sandy border absorbs, 16 cells wide; a new packet is launched when the old one has left.

Controls

Obstacle
0.60 rad/cell, λ = 10.5
9 cells
28 cells
8 cells

Live readouts

Time step Δt
0.25
limit 0.333
Packet energy E
0.175
wall height V₀ = 2.000
Norm N / N₀
n/a
Norm drift while clear
n/a
largest |N / N₀ − 1| this run; tolerance 1 × 10⁻⁶
Beyond the wall now
n/a
Transmitted, peak this run
n/a

Governing equation

i∂ψ∂t=−12∇2ψ+Vψ

ψ is the wave function, V the wall, in units where ℏ and the mass are 1. The packet starts as a Gaussian of width σ carrying momentum k0.

Numerical method

Visscher’s staggered leapfrog: the real and imaginary parts sit half a step apart and each advances the other through a five-point Laplacian, two shader passes per step.

The scheme is explicit, time-reversible and conserves a discrete norm exactly. In 32-bit arithmetic the norm readout should stay within 1 × 10⁻⁶ of 1 until the packet reaches the absorbing edge, which then removes it on purpose.

Stability

Δt≤24/Δx2+Vmax

With Vmax = 2.00 the limit is 0.333; this run uses Δt = 0.25.

Why it matters. Time-domain solvers like this one are used to model tunneling devices, matter-wave optics and qubit dynamics, and their update rule maps directly onto GPUs.

How this work is engaged

Scoped case by case

Physics, simulation and quantum computing work is scoped case by case, as a fixed piece of work or as consulting time.

Government and research partners: federal registration in progress.

Working on something in this area?

Describe the system or the idea and what you need from the software. You will get a plain answer about whether PuraViba can take it on.