Compute the repulsive Bose-gas pressure
A converged nonlinear solver can return the wrong pressure if its rapidity grid misses part of the thermal state. Solve the uniform repulsive Lieb–Liniger gas at , , , with . Compute the pressure, which equals minus the grand potential per unit length, and check it by measuring how density and energy respond to changing the inputs.
Submit a pressure and an independent density
Section titled “Submit a pressure and an independent density”Independent task. Use and units . Solve the nonlinear equation below, compare at least two rapidity ranges and two quadrature orders, and obtain the density from the dressed linear equation. Compare it with a centred pressure derivative using two chemical-potential increments. Reproducible gas solver
Changed setting. First send to infinity, then instead lower at finite coupling. Predict when the convolution vanishes and when the occupied rapidity edges become hard to resolve. Give a distinct accuracy check for each change.
Specify the quantity and the residual
Section titled “Specify the quantity and the residual”Use the infinite uniform gas, , and kernel . Define . The Yang–Yang equations in this normalization are
On a symmetric interval use Gauss–Legendre nodes and weights and stop when the infinity norm of one fixed-point update minus the current iterate is below . Evaluate the soft logarithm by a stable log-sum-exp. The gas solver exposes this calculation as the function gas, with arguments temperature, chemical potential, coupling, cutoff and node count. Yang and Yang, §§IV–V, Eqs. (15)–(26), equilibrium equation and pressure
Separate the numerical errors
Section titled “Separate the numerical errors”Compare the numerical answers and convergence tests
| Cutoff | Nodes | Pressure | Dressed density |
|---|---|---|---|
| 3 | 32 | 0.3192588960 | 0.3776994596 |
| 5 | 32 | 0.3192550231 | 0.3776906612 |
| 5 | 64 | 0.3192590890 | 0.3776997870 |
| 7 | 96 | 0.3192590889 | 0.3776997868 |
The four nonlinear residuals are all below . Increasing the interval at fixed node count first made the pressure less accurate. Design one pair varying only mesh resolution and one varying only the cutoff at comparable central resolution. Report the differences relative to the last row and explain what the residual alone missed.
Second observable. Let . Differentiation at fixed gives and hence . Solve this linear system independently of pressure differencing. With the centred difference of pressures at gives . At half-width it gives . The discrepancy with the dressed density shrinks by about , consistent with the second-order difference.
Changed inputs. At the kernel vanishes and a single scalar quadrature suffices. At lower the edges of sharpen instead. Justify a new resolution using changes in the dressed density as well as pressure, before interpreting a thermal trend. A fixed mesh that worked at supplies no error estimate in the cold limit.
Measure the response to changing the interaction
Section titled “Measure the response to changing the interaction”Transfer exercise. Hold fixed and change the physical coupling . Compute a centered pressure derivative . Can you predict its sign from the Hamiltonian and check its value with the energy density?
Compare the pressure derivative with the energy in occupied rapidities
In field notation the interaction is . Differentiating the grand canonical trace gives . Increasing repulsion lowers the pressure at fixed chemical potential in this state. The observable on the right counts local pairs per squared length.
The units provide a second route. Under a change of momentum scale by , and scale by , by and by . Differentiate this scaling relation and use , with and . The result and the independent rapidity integral are
At the lab inputs and , . Using coupling steps and gives slopes and . The discrepancies in the pressure identity are and . Keeping constant instead would measure a different derivative. Run the pressure, density and interaction checks
References
Section titled “References”- C. N. Yang and C. P. Yang. “Thermodynamics of a One-Dimensional System of Bosons with Repulsive Delta-Function Interaction.” Journal of Mathematical Physics 10 (1969), 1115–1122. DOI
Connected readings