Superconducting Baths

A superconducting (BCS) bath adds on-site pairing to every site of the Wilson chain,

\[ H_{\text{pair}} = \sum_{n,\alpha} \left( \Delta_{n\alpha} f^\dagger_{n\alpha\uparrow} f^\dagger_{n\alpha\downarrow} + \Delta^*_{n\alpha} f_{n\alpha\downarrow} f_{n\alpha\uparrow} \right), \]

where \(n\) is the site and \(\alpha\) the channel. Charge is no longer conserved, so the calculation needs one of the superconducting symmetry types; see Conventions shared by all symmetry types for the phase convention.

Symmetry Type

Additional terms Symmetry type
none (spin-rotation invariant) SPSU2
magnetic field along \(z\), spin-polarized bath, axial anisotropy SPU1
rhombic anisotropy \(E(S_x^2-S_y^2)\) SPZ4
arbitrary spin terms P, or NONE
two channels with mirror symmetry SPSU2LR, SPU1LR
two channels, fermion parity of each conserved PP

Constant Gap

For the standard flat-band models, bcsgap sets a constant pairing amplitude \(\Delta\) on all sites, in units of the half-bandwidth. Different channels can have different gaps through a complete set bcsgap1, ..., bcsgapK, one for each coefficient channel (with polarized=true there are twice as many coefficient channels). Example: Anderson impurity in a superconductor with a field on the impurity, as in test/c++sym_conventions/conv_spinresolved_sc_1ch_SPU1:

[extra]
B=0.03

[param]
symtype=SPU1
model=SIAM
variant=MAGFIELD
U=0.5
delta=0.1
Gamma=0.1
bcsgap=0.1
Lambda=3.0
T=0.05
ops=A_d n_d SZd
specd=A_d-A_d-u A_d-A_d-d
fdm=true
fdmexpv=true

The spectral function shows the Yu-Shiba-Rusinov subgap states as \(\delta\) peaks inside the gap \(|\omega|<\Delta\), resolved by spin.

Complex Gap And Phase Differences

To set a complex gap, use a Wolfram Language expression after ! and set options=COMPLEX.

options=COMPLEX
bcsgap1=!0.05
bcsgap2=!0.05*Exp[I*Pi/2]

A common phase rotation of all pairing amplitudes leaves gauge-invariant observables unchanged. Anomalous Green functions and the complex induced pair amplitude carry the gauge phase, so align the gauge before comparing their real and imaginary parts. The phase difference between channels is physical. Two channels with \(\Delta_2 = \Delta_1 e^{i\varphi}\) describe a quantum dot in a Josephson junction with phase difference \(\varphi\). A minimal model for this setup (model=model.m):

def2ch[1];
snegrealconstants[eps, U, V];
Himp = H1 = eps number[d[]] + U hubbard[d[]];
Hhyb = Hc = V (hop[f[0], d[]] + hop[f[1], d[]]);
H = Expand[H0 + Himp + Hc];

with symtype=SPSU2 (or SPU1, P with a field). test/c++sym_conventions/conv_pairing_2ch_* checks complex, channel-dependent gaps for SPSU2, SPU1, SPZ4, P, NONE, and PP against each other.

Archived SDS Junction

With nrginit++, select model=ONE, variant=SDS, and symtype=SPSU2 for the archived supercurrent_SDS calculations. Set phi in [extra] to the phase in radians and bcsgap in [param] to the gap. This convention keeps the supplied gaps at site zero and reverses the second gap from site one onward. ops=jc2 requests the operator \(2\partial H/\partial\varphi\). With physical energy units restored, multiplying its expectation value by \(e/\hbar\) gives the current.

Energy-Dependent Pairing

For pairing amplitudes that vary along the chain, provide the coefficient tables yourself. The manual_nambu_new initializer reads explicit scdelta and sckappa files for SPSU2, SPU1, and SPZ4. The older manual_nambu path uses zero anomalous hopping and has separate on-site pairing input rules. Discretization and Wilson chain

For a real coefficient \(\kappa_{n\alpha}\) the link term on channel \(\alpha\) is

\[ \kappa_{n\alpha} \left(f^\dagger_{n\alpha\uparrow} f^\dagger_{n+1,\alpha\downarrow} - f^\dagger_{n\alpha\downarrow} f^\dagger_{n+1,\alpha\uparrow}\right) +\text{H.c.} \]

The two creation terms have opposite signs and the coefficient multiplies their full difference, without a \(1/\sqrt{2}\) factor. The solver accepts nonzero \(\kappa\) with SPSU2, SPU1, SPU1LR, SPZ4, and SPSU2LR.

Operators

operators.m provides, among others:

  • pair_d, Ix_d, Iy_d (and their squares): pairing \(d^\dagger_\uparrow d^\dagger_\downarrow\) and isospin of the impurity, i.e. the induced pairing on the dot;
  • pair_f, Ix_f, Iy_f, Iz_f: the same for the first site of the chain;
  • A_d: the impurity spectral function; spin-resolved (-u, -d) for SPU1, SPZ4, and SPU1LR.

Check the Nambu convention before comparing anomalous spectra. In the creation branch Ac_d represents \(-d_\downarrow\) for a spin-up excitation and \(+d_\uparrow\) for a spin-down excitation. The solver conjugates the first operator in each pair, so the order Ac_d-A_d or A_d-Ac_d sets which matrix element is conjugated. Translate this sign and operator order when comparing to a different Nambu basis. Operator order and spectral sign