r"""Graphene Josephson field-effect transistor (JoFET) compact model.
A JoFET is a superconductor-graphene-superconductor junction whose weak link
is gated, so the gate voltage :math:`V_\text{g}` tunes the carrier density of
the graphene channel and with it the normal-state resistance
:math:`R_\text{n}` and the critical current :math:`I_\text{c}`. This module
implements the analytic gate dependence of the compact model of
:cite:`gamaethigeDeviceModelsJosephson2026`, whose Verilog-A code is
published as :cite:`gamaethigeVeroligACodeJosephson2026`.
:file:`qpdk/simulation/vacask_models/jofet.va` implements the same equations
for transient simulation in VACASK.
**Carrier density** — The gate oxide with relative permittivity
:math:`\varepsilon_\text{r}` and thickness :math:`t` induces the sheet
density
.. math::
n = \frac{\varepsilon_\text{r} \varepsilon_0}{t\, e}
(V_\text{g} - V_\text{Dir}),
\qquad
n_\text{tot} = \sqrt{n_\text{r}^2 + n^2},
where :math:`V_\text{Dir}` is the Dirac-point voltage and the residual density
:math:`n_\text{r}` (electron-hole puddles) keeps :math:`n_\text{tot}` finite
at the Dirac point.
**Normal-state resistance** — A Drude channel of length :math:`L_\text{g}`
and width :math:`W` with mobility :math:`\mu`, in series with the contact
resistance :math:`R_\text{c}`:
.. math::
R_\text{n} = R_\text{c} + \frac{L_\text{g}}{W e \mu\, n_\text{tot}}.
**Critical current** — The product :math:`I_\text{c} R_\text{n}` is fixed by
the induced gap :math:`\Delta_\text{ind}` and a scaling factor
:math:`\alpha`, so
.. math::
I_\text{c} = \frac{\alpha \Delta_\text{ind}}{e R_\text{n}}
and :math:`I_\text{c} R_\text{n} = \alpha \Delta_\text{ind} / e` does not
depend on the gate. In VACASK the junction is a resistively and capacitively
shunted junction (RCSJ) with these :math:`R_\text{n}` and :math:`I_\text{c}`
and a capacitance :math:`C_\text{j}`.
**Validity** — The geometry, gate stack and induced gap are those of the
350 nm device of :cite:`gamaethigeDeviceModelsJosephson2026` (Sec. III) and
match :math:`W` and :math:`L_\text{g}` of device TG#2 of
:cite:`generalovWaferscaleCMOScompatibleGraphene2024`. The five fit
parameters :math:`\mu`, :math:`R_\text{c}`, :math:`n_\text{r}`,
:math:`V_\text{Dir}` and :math:`\alpha` are a joint least-squares fit of the
relative error of :math:`R_\text{n}` and :math:`I_\text{c}` to digitized TG#2
data from :math:`-14\,\text{V}` to :math:`+10\,\text{V}`; the published fit
(:math:`\mu = 904.24\,\text{cm}^2/(\text{V s})`,
:math:`R_\text{c} = 18.60\,\Omega`,
:math:`n_\text{r} = 1.18 \times 10^{12}\,\text{cm}^{-2}`,
:math:`V_\text{Dir} = -12\,\text{V}`, :math:`\alpha = 0.26`) focuses on the
electron branch. The refit puts :math:`V_\text{Dir}` at the measured
resistance peak and lowers the RMS error from 12.5 % to 5.4 % for
:math:`R_\text{n}` and from 13.9 % to 7.0 % for :math:`I_\text{c}`.
The model covers a short diffusive junction, is electron-hole symmetric
about :math:`V_\text{Dir}` and has no temperature dependence. The gate is a
voltage control with zero gate current: :math:`V_\text{g}` sets the carrier
density, and a gate pulse draws no displacement current. As in Sec. IV.C of
:cite:`gamaethigeDeviceModelsJosephson2026`, the gate overlap capacitances
belong at schematic level, as separate capacitors. Measured devices are not
exactly symmetric: the measured :math:`I_\text{c}` minimum lies about
:math:`0.5\,\text{V}` below the resistance peak, so the model is least
accurate near the Dirac point, where :math:`R_\text{n}` is off by up to
14 % and :math:`I_\text{c}` by up to 24 %. For
:math:`V_\text{g} \ge -11\,\text{V}` the errors stay within 10 % for
:math:`R_\text{n}` and 16 % for :math:`I_\text{c}`. The defaults give
:math:`I_\text{c} R_\text{n} = 21.7\,\text{µV}`;
:cite:`generalovWaferscaleCMOScompatibleGraphene2024` reports about
:math:`20\,\text{µV}` for TG#2. The comparison covers :math:`-14\,\text{V}` to
:math:`+10\,\text{V}` at millikelvin temperatures; outside that range the
defaults are an extrapolation.
References:
- :cite:`gamaethigeDeviceModelsJosephson2026`
- :cite:`gamaethigeVeroligACodeJosephson2026`
- :cite:`generalovWaferscaleCMOScompatibleGraphene2024`
"""
from collections.abc import Sequence
from typing import NamedTuple
import jax
import jax.numpy as jnp
from jax.typing import ArrayLike
from qpdk.models.constants import e, ħ, ε_0
from qpdk.models.jit import jit
__all__ = [
"JofetParameters",
"graphene_quantum_capacitance",
"jofet_carrier_density",
"jofet_critical_current",
"jofet_gate_capacitance",
"jofet_normal_resistance",
"jofet_stewart_mccumber",
"rsj_mean_voltage",
"stewart_mccumber",
]
[docs]
class JofetParameters(NamedTuple):
r"""Parameters of the graphene JoFET compact model, in SI units.
The geometry, gate stack and induced gap are the 350 nm device of
:cite:`gamaethigeDeviceModelsJosephson2026`, as published in
:cite:`gamaethigeVeroligACodeJosephson2026`. :math:`\mu`,
:math:`R_\text{c}`, :math:`n_\text{r}`, :math:`V_\text{Dir}` and
:math:`\alpha` are refit to device TG#2 of
:cite:`generalovWaferscaleCMOScompatibleGraphene2024` (see the module
docstring). The tuple is a JAX pytree,
so it can be traced, differentiated and passed through :func:`jax.jit`.
Attributes:
gate_length: Channel length :math:`L_\text{g}` between the leads in m.
width: Channel width :math:`W` in m.
epsilon_r: Relative permittivity :math:`\varepsilon_\text{r}` of the
gate dielectric.
oxide_thickness: Gate dielectric thickness :math:`t` in m.
mobility: Carrier mobility :math:`\mu` in m²/(V s).
contact_resistance: Series contact resistance :math:`R_\text{c}` in Ω.
residual_density: Residual carrier density :math:`n_\text{r}` in m⁻².
induced_gap: Induced superconducting gap :math:`\Delta_\text{ind}`
in J.
alpha: Scaling factor :math:`\alpha` of the
:math:`I_\text{c} R_\text{n}` product.
dirac_voltage: Dirac-point gate voltage :math:`V_\text{Dir}` in V,
relative to the source.
capacitance: Junction capacitance :math:`C_\text{j}` in F.
"""
gate_length: float = 350e-9
width: float = 20e-6
epsilon_r: float = 7.0
oxide_thickness: float = 32e-9
mobility: float = 892e-4
contact_resistance: float = 16.4
residual_density: float = 1.03e16
induced_gap: float = 90e-6 * e
alpha: float = 0.241
dirac_voltage: float = -12.5
capacitance: float = 100e-15
[docs]
@jit(inline=True)
def jofet_carrier_density(
gate_voltage: ArrayLike, params: JofetParameters = JofetParameters()
) -> jax.Array:
r"""Total sheet carrier density :math:`n_\text{tot}` of the channel.
.. math::
n_\text{tot} = \sqrt{n_\text{r}^2
+ \left(\frac{\varepsilon_\text{r} \varepsilon_0}{t\, e}
(V_\text{g} - V_\text{Dir})\right)^2}
See :cite:`gamaethigeDeviceModelsJosephson2026`.
Args:
gate_voltage: Gate-source voltage :math:`V_\text{g}` in V.
params: Model parameters.
Returns:
Carrier density in m⁻², same shape as ``gate_voltage``.
"""
p = params
n = (
p.epsilon_r
* ε_0
/ (p.oxide_thickness * e)
* (jnp.asarray(gate_voltage) - p.dirac_voltage)
)
return jnp.hypot(p.residual_density, n)
[docs]
@jit(inline=True)
def jofet_normal_resistance(
gate_voltage: ArrayLike, params: JofetParameters = JofetParameters()
) -> jax.Array:
r"""Normal-state resistance :math:`R_\text{n}` of the JoFET.
.. math::
R_\text{n} = R_\text{c} + \frac{L_\text{g}}{W e \mu\, n_\text{tot}}
The maximum is at the Dirac point, and :math:`R_\text{n} \to R_\text{c}`
at large :math:`|V_\text{g} - V_\text{Dir}|`. See
:cite:`gamaethigeDeviceModelsJosephson2026`.
Args:
gate_voltage: Gate-source voltage :math:`V_\text{g}` in V.
params: Model parameters.
Returns:
Resistance in Ω, same shape as ``gate_voltage``.
"""
p = params
n_tot = jofet_carrier_density(gate_voltage, p)
return p.contact_resistance + p.gate_length / (p.width * e * p.mobility * n_tot)
[docs]
@jit(inline=True)
def jofet_critical_current(
gate_voltage: ArrayLike, params: JofetParameters = JofetParameters()
) -> jax.Array:
r"""Critical current :math:`I_\text{c}` of the JoFET.
.. math::
I_\text{c} = \frac{\alpha \Delta_\text{ind}}{e R_\text{n}}
The :math:`I_\text{c} R_\text{n}` product :math:`\alpha
\Delta_\text{ind} / e` (21.7 µV for the defaults) does not depend on the
gate. See :cite:`gamaethigeDeviceModelsJosephson2026`.
Args:
gate_voltage: Gate-source voltage :math:`V_\text{g}` in V.
params: Model parameters.
Returns:
Critical current in A, same shape as ``gate_voltage``.
"""
p = params
return p.alpha * p.induced_gap / (e * jofet_normal_resistance(gate_voltage, p))
[docs]
@jit(inline=True)
def stewart_mccumber(
critical_current: ArrayLike, resistance: ArrayLike, capacitance: ArrayLike
) -> jax.Array:
r"""Stewart-McCumber parameter of a resistively and capacitively shunted junction.
.. math::
\beta_\text{c} = \frac{2 e I_\text{c} R^2 C}{\hbar}
:math:`R` is every resistance across the junction in parallel and
:math:`C` every capacitance across it. Hysteresis in the current-voltage
curve sets in near :math:`\beta_\text{c} \approx 1` and is small below
it :cite:`stewartCurrentVoltageCharacteristicsJosephson1968,McCumber1968`.
Args:
critical_current: Critical current :math:`I_\text{c}` in A.
resistance: Shunt resistance :math:`R` in Ω.
capacitance: Shunt capacitance :math:`C` in F.
Returns:
Dimensionless :math:`\beta_\text{c}`, broadcast over the arguments.
"""
return (2 * e / ħ) * jnp.asarray(critical_current) * resistance**2 * capacitance
[docs]
@jit(inline=True)
def jofet_stewart_mccumber(
gate_voltage: ArrayLike, params: JofetParameters = JofetParameters()
) -> jax.Array:
r"""Stewart-McCumber parameter :math:`\beta_\text{c}` of the bare JoFET.
:func:`stewart_mccumber` with :math:`I_\text{c}`, :math:`R_\text{n}` and
:math:`C_\text{j}` of the device alone. The defaults give
:math:`\beta_\text{c} \approx 0.14` to :math:`0.89` between
:math:`-15\,\text{V}` and :math:`+10\,\text{V}`, the largest value at
the Dirac point.
Args:
gate_voltage: Gate-source voltage :math:`V_\text{g}` in V.
params: Model parameters.
Returns:
Dimensionless :math:`\beta_\text{c}`, same shape as ``gate_voltage``.
"""
p = params
rn = jofet_normal_resistance(gate_voltage, p)
return stewart_mccumber(jofet_critical_current(gate_voltage, p), rn, p.capacitance)
[docs]
@jit(inline=True)
def graphene_quantum_capacitance(
carrier_density: ArrayLike, fermi_velocity: float = 1e6
) -> jax.Array:
r"""Quantum capacitance per unit area of single-layer graphene.
The density of states of the Dirac cone gives :cite:`fangCarrierStatisticsQuantum2007`
.. math::
C_\text{q} = \frac{2 e^2 \sqrt{n}}{\hbar v_\text{F} \sqrt{\pi}}
at temperatures well below the Fermi energy. Pass the total density
:math:`n_\text{tot}` of :func:`jofet_carrier_density` so that the residual
density keeps :math:`C_\text{q}` finite at the Dirac point.
Args:
carrier_density: Sheet carrier density :math:`n` in m⁻².
fermi_velocity: Fermi velocity :math:`v_\text{F}` in m/s.
Returns:
Capacitance per area in F/m², same shape as ``carrier_density``.
"""
n = jnp.asarray(carrier_density)
return 2 * e**2 * jnp.sqrt(n) / (ħ * fermi_velocity * jnp.sqrt(jnp.pi))
[docs]
@jit(inline=True)
def jofet_gate_capacitance(
gate_voltage: ArrayLike,
geometric_capacitance: ArrayLike,
params: JofetParameters = JofetParameters(),
) -> jax.Array:
r"""Gate-to-channel capacitance including the graphene quantum capacitance.
The geometric capacitance :math:`C_\text{geo}` between the gate and an
ideal conducting channel is in series with the quantum capacitance of the
channel area :math:`L_\text{g} W`:
.. math::
C_\text{g} = \left(\frac{1}{C_\text{geo}}
+ \frac{1}{C_\text{q}(n_\text{tot}) L_\text{g} W}\right)^{-1}.
:math:`C_\text{q}` is smallest at the Dirac point, so the loading is lowest
there. Only the part of :math:`C_\text{geo}` that ends on the graphene
belongs here; gate overlap onto the metal contacts couples directly.
Args:
gate_voltage: Gate-source voltage :math:`V_\text{g}` in V.
geometric_capacitance: Nonnegative :math:`C_\text{geo}` in F.
params: Model parameters.
Returns:
Capacitance in F, broadcast over the arguments.
"""
p = params
n_tot = jofet_carrier_density(gate_voltage, p)
c_q = graphene_quantum_capacitance(n_tot) * p.gate_length * p.width
c_geo = jnp.asarray(geometric_capacitance)
smaller = jnp.minimum(c_geo, c_q)
larger = jnp.maximum(c_geo, c_q)
ratio = jnp.where(
jnp.isinf(smaller), 1.0, smaller / jnp.where(larger > 0, larger, 1.0)
)
return jnp.where(c_geo >= 0, smaller / (1 + ratio), jnp.nan)
[docs]
@jit(inline=True)
def rsj_mean_voltage(
current: ArrayLike,
critical_current: ArrayLike,
normal_resistance: ArrayLike | Sequence[float],
) -> jax.Array:
r"""Time-averaged voltage of an overdamped resistively shunted junction.
For a DC bias current :math:`I` the RSJ model
(:math:`\beta_\text{c} \to 0`) gives
:cite:`stewartCurrentVoltageCharacteristicsJosephson1968`
.. math::
\bar V = \operatorname{sign}(I)\, R_\text{n}
\sqrt{I^2 - I_\text{c}^2}
\quad \text{for } |I| > I_\text{c},
and :math:`\bar V = 0` otherwise. A finite capacitance raises the
voltage towards :math:`I R_\text{n}`, so for :math:`0 < \beta_\text{c}
\lesssim 1` this is a lower bound on :math:`|\bar V|`.
Args:
current: Bias current :math:`I` in A.
critical_current: Critical current :math:`I_\text{c}` in A.
normal_resistance: Shunt resistance :math:`R_\text{n}` in Ω.
Returns:
Mean voltage in V, broadcast over the arguments.
"""
i = jnp.asarray(current)
ic = jnp.abs(jnp.asarray(critical_current))
running = jnp.abs(i) > ic
# Factored so that |I| = Ic gives exactly zero; the double where keeps the
# gradient finite at and below I = Ic.
excess = (jnp.abs(i) - ic) * (jnp.abs(i) + ic)
root = jnp.sqrt(jnp.where(running, excess, 1.0))
return jnp.where(running, jnp.sign(i) * jnp.asarray(normal_resistance) * root, 0.0)