Research

Superconductivity, light and matter

Simulation of multiband superconductors, the main line of work, and two projects of 2026: first-principles nonlinear optics of Weyl semimetals and an open computational lensmeter.

Two-band superconductors · Nonlinear optics of Weyl semimetals · Computational lensmeter

Two-band superconductors: simulation and validation

A three-dimensional, two-band time-dependent Ginzburg–Landau solver for mesoscopic superconductors under applied field and transport current, designed, written and validated independently. Two order parameters coupled by a Josephson term and a self-consistent vector potential on a staggered mesh with gauge-invariant link variables; the current is injected through its own Ampère field, and the voltage is read from the Josephson relation on the gauge-invariant phase. Released as open source, in a two-band release (1.2) and an N-band one (2.0); a GPU port reproduces the CPU path to rounding and runs a full time step 4–8 times faster than a laptop core on large meshes.

v13.3 Octave reference implementation (hash df37e31c), the origin of the stored reference states.
v14.1 Julia port, bit for bit against v13.3, with an optional scalar potential by Coulomb projection.
1.0 juliaTDGL, public release (MIT, October 2026): optional terms for interband drag, heating, Joule dissipation and bath temperature, all off by default; a Strict mode that reproduces the reference bit for bit and a Fast mode; a terminal menu for runs and a browser editor for 3D sample shapes.
1.1 An implicit treatment of the curl-curl term, which removes the Maxwell limit on the time step of strongly screened samples, and sub-stepping of the stiff band; validated against the explicit scheme (onset brackets identical, flowing voltages within 0.2 %), about 3 times faster per unit time at κ = 2 and about 100 times at κ = 25. The explicit scheme remains available, so published numbers reproduce.
1.2 Same results as 1.1. The production scheme (implicit field, explicit bands with sub-steps) is the default, checkpoints are compressed and exact, and the terminal menu and the shape-editor server are written in Julia; a legacy configuration reproduces 1.0.0 to the digit.
2.0 N-band release: a Josephson matrix, Kramer–Watts-Tobin relaxation per band, optional finite interband exchange of quasiparticles, anisotropic bands, thermal noise, an open self-field boundary, an insulating buffer, sculpted samples and the onset by the delay of the first phase slip; runs from parameter files, stopped and resumed to the bit. With its new terms off it reproduces 1.2.

Validation

  • Bit-for-bit agreement with the stored reference states (maximum difference 0 on 32 arrays).
  • Lowest Landau level within 1.6 % at the production mesh; surface-nucleation ratio H_c3/H_c2 within 0.05 % of 1.6946.
  • About 56 000 test assertions, including a slow reference loop for the kernel, gauge invariance of the scalar-potential step and every optional term.
  • Symmetry control: a sample symmetric under the mirror along the vortex motion gives zero diode efficiency — exactly in exact arithmetic, to a few parts in 10¹¹ in practice.

The solver at work

Animation of the order-parameter density of a notched two-band box at plus and minus current: vortices enter at the tip of the notch for one sign and almost none for the other
Two-band notched box, |Ψσ|² on the mid-plane at H = 0.03 H_c2 and |J| = 0.44: for +J (top) vortices enter at the tip of the notch and cross; for −J (bottom), at the same current, almost none do.
Screenshot of the three-dimensional shape editor showing a cable-like sample with a groove along its length, the applied field and the current
The shape editor of release 2.0: a cable-like sample with a groove, with the transport current J, the field H and the faces where vortices enter.
Screenshot of the shape editor showing three stacked slabs separated by vacuum, with the current along the slabs and the field across them
Three stacked slabs with vacuum between them, drawn in the same editor: the sample is a shape in three dimensions, not a strip.

Methods paper

Silent failure modes in three-dimensional two-band time-dependent Ginzburg–Landau simulations of geometric superconducting diodes

J. A. Robles Calderón · Preprint, Zenodo, 2026 · 19 pp · doi:10.5281/zenodo.23163207

Read the preprint (Zenodo) Code: juliaTDGL

Protocol

Eighteen ways a converged simulation can report the wrong quantity

  • Each failure mode produces a converged, plausible number that does not measure what it is reported as, and each has a test.
  • The central one (M1): a phase imposed uniformly on the contact links cancels in the discrete curl, so the solver integrates the zero-current problem. Self-field injection, odd in the current, and a Josephson voltmeter replace it.
  • Others concern averaging windows that set a threshold, the memory of a current ladder, convergence floors counted in iterations, coefficients whose names mislead (M16, M17), and heat generated where injected normal current converts into supercurrent (M18).

Two-band condensate

What the functional allows in equilibrium

  • Screening measures the total stiffness of the two condensates.
  • The functional caps the π-band upper critical field by the stiffness partition (H_c2^π/H_c2^σ ≤ ρ_σ/ρ_π), so separated coherence lengths and a bulk π band that survives vortex entry exclude each other in these samples.

Superconducting diode

A notched box rectifies; the sign is robust, the magnitude is bracketed

  • The sign survives changes of mesh, thickness and padding, and is fixed by symmetry: complex conjugation composed with the mirror maps +J onto −J.
  • The efficiency falls from −47 % with one cell of padding (a normal metal in this formulation) to −21 % [−33, −7] with eight cells; no converged value is quoted.

Figures from the paper

Order-parameter maps of a notched sample at plus and minus current: dissipating and silent
|Ψσ|² of the notched box at J = ±0.050 J₀: vortices cross for +J (dissipating) and stay pinned for −J (silent).
Voltage versus current with both onsets bracketed, and diode efficiency brackets across systematics
Both onsets bracketed by measurement (left), and the efficiency under one verdict rule across mesh, thickness and padding (right): brackets, not a single value.
Magnetization and vortex number versus field for two coherence-length ratios
Magnetization and vortex count against field for two coherence-length ratios; at R = 4 nineteen vortices enter in one field step.
Asymmetry between plus and minus current in a symmetric sample, before and after a fix, down to machine precision
Symmetry test on a mirror-symmetric sample: an index-range defect made |V⁺| − |V⁻| grow with J; after the fix it sits at the machine floor.

Second paper (manuscript under review)

Rectification in a notched two-band box at low field: two screening regimes and the terms that leave it unchanged

At a field where the box holds no vortex at zero current, the voltage is carried by single σ-band vortices (or antivortices) nucleating at the tip of the notch, one per period; rectification is the asymmetry of the waiting time at the tip. Two screening regimes, and the effect of scalar potential, charge relaxation and heating on the onsets.

Currently

The same geometric diode at MgB₂-like parameters — strong screening and well-separated coherence lengths of the two bands — and what Joule heating and interband drag do to it. The longer-term direction is multiband, non-equilibrium TDGL for three-dimensional superconducting nanostructures, a regime that two-dimensional codes cannot reach: release 2.0 of juliaTDGL carries N bands with finite interband quasiparticle exchange. Two further manuscripts are in preparation.

2026

Nonlinear optics of Weyl semimetals from first principles

Shift and injection photocurrents and second-harmonic generation in Weyl semimetals, computed from first principles with a stack of my own: Quantum ESPRESSO and Wannier90 for the band structure, Julia for the dense-k response and for real-time propagation in a Wannier basis, and Octopus real-time TDDFT as the self-consistent reference. The tools are validated on a lattice model, GaAs, TaAs and LaAlSi.

Quantum ESPRESSO + Wannier90 + Julia; Octopus real-time TDDFT; Python for analysis.

Rotating view of the Brillouin zone of TaAs with its 24 Weyl nodes coloured by node family and chirality
TaAs as a computational test bed: the 24 Weyl nodes of the Wannier model (PBE+SOC), coloured by family and chirality; positions agree with Weng et al. (2015) to about 1 %.
Map of the band gap between the two bands that cross at the Weyl nodes of TaAs, on a logarithmic scale, as the plane in k-space is moved along kz
Gap between the two crossing bands on planes of constant k_z (logarithmic scale, 1–2000 meV): the dark spots are where the plane passes near a node.

Results

  • Analytic Weyl lattice model in real time (Julia): reproduces the quantized circular photogalvanic response of de Juan et al. (2017) without perturbative formulas (Tr β/β₀ = 1.014 on a 96³ grid), and shows the breakdown and Rabi-like rebound of quantization at strong fields.
  • Interactions in the model: a local mean field barely changes the quantized response, while a non-local exchange term breaks it already at first order.
  • Octopus real-time TDDFT validated on silicon, including a symmetry null test: a zero-area pulse leaves no DC current, as inversion requires.
  • Shift current of GaAs against the literature (plateau 14–16 and peak 37 µA/V², reference about 16 and 42), with the overall sign fixed independently by a real-time Wannier propagator that agrees within 1–2 %.
  • TaAs: the 24 Weyl nodes with positions matching Weng et al. (2015) to about 1 %; Wannier bands within 0.4 meV of the DFT bands near the Fermi level; the break in the slope of the linear optical conductivity near 28 meV as in Xu et al. (2016); and a shift current of about 180 µA/V² at 117 meV against 154 ± 17 µA/V² measured by Osterhoudt et al. (2019).
  • LaAlSi: an 80-spinor Wannier model (error 2 × 10⁻⁶ eV) whose optical conductivity peaks at 0.39 eV with a second structure at 0.57 eV, against about 0.4 and 0.65 eV measured by Kimura et al. (2026), and 27 Weyl nodes in three groups as in Su et al. (2021).
  • Own tools, each checked against an independent calculation: shift current by exact sum over states, real-time propagation in a Wannier basis, and Weyl-node finding with chirality on adaptive k-meshes.

Simulation

An open computational lensmeter

A phone camera's RAW sensor and a laptop screen measure spectacle lenses by transmission deflectometry: the camera looks at a pattern on the screen through the lens, and the pattern's distortion gives the lens prescription — sphere, cylinder and axis — with an uncertainty, together with the full power map. The mathematics sits in two pieces: an elliptic inverse problem on a masked domain, solved by conjugate gradients preconditioned with a fast cosine transform, and a thick-lens model fitted at several lens–screen distances.

Simulated photographs of a crossed fringe pattern seen through a positive spectacle lens as the lens is moved away from the screen
Virtual optical bench: simulated photographs of the screen pattern through a +3.00 D spectacle lens as the lens–screen distance grows.
Open the interactive virtual bench
A free-camera 3D bench with a sensor view: choose a lens prescription, move the lens and the phone, and see what the camera would record. Simulated; needs WebGL.

Results

  • A virtual optical bench simulates the photographs end to end — screen, two-surface lens, a phone camera with sensor noise, quantization and rolling shutter — and passes them to the inverse solver.
  • A thin-lens estimate at 5 cm is biased by 0.13–0.34 D on real spectacle lenses; a two-surface model fitted at three distances recovers sphere, cylinder and axis within the ISO tolerance of ±0.12 D in every simulated case, with the phone at any angle and without a tripod (self-referencing by homography).
  • Robustness studied in simulation: hand tremor, ambient light, dispersion, stacked lenses, tinted, prismatic and polarized lenses, with alarms for the cases the method cannot handle.
  • Core inverse solver checked numerically on a curved domain (error 4 × 10⁻¹¹ in 24 preconditioned iterations); twenty unit tests for the pieces.

The animated scene panels are computed in the browser from analytic models (and from the measured diffraction data, in the case of the crystal). The TaAs animations and the virtual optical bench show output of the research codes.