jaxvacua.flux_vacua_finder#
Canonical flux-vacuum search interface.
Purpose#
Define FluxVacuaFinder, the main entry point for constructing, sampling
and classifying flux vacua in Type IIB compactifications on Calabi-Yau
threefolds.
Main public API#
FluxVacuaFinder: a subclass ofFluxEFT. A finder is the EFT model, with vacuum-search methods added; inherited physics methods such asV_x,DW,ddV_x,hessianandtadpoleare callable directly on the finder.SUSY workflow:
newton_method_flux_vacua(mode="SUSY"),sample_SUSY_flux_vacua,sample_SUSY_vacua_from_fluxes,linearised_shifts_*anddeduplicate_vacua.Non-SUSY workflow:
sample_critical_pointswith Newton, Adam, L-BFGS, Adam-on-potential, hybrid and SciPy backends.Gaussian-M prior calibration and persistence through
calibrate_priors,save_calibrationandload_calibration.
Design notes#
Stateless post-processing helpers delegate to jaxvacua.flux_utils. Use
FluxVacuaFinder.from_model(model, sampler=None) to reuse an existing
FluxEFT geometry without recomputing it.
Computational graph#
The vacuum-search loop wraps a jaxvacua.flux_eft.FluxEFT
instance and runs a Newton iteration on the F-term residual
For each converged point the layer also computes the bosonic mass-squared spectrum,
via jaxvacua.flux_eft.FluxEFT.hessian() and
jaxvacua.flux_eft.FluxEFT.mass_matrix(). Inherited input (the
upstream jaxvacua.flux_eft.FluxEFT instance) is shown light
grey; the diamond is the convergence filter; orange callouts are the
public outputs of the layer.
ISD completion: $f = s\,M\,\sigma\, h + c_0\, h$
data_sampler.initial_guesses_ISD() · FluxVacuaFinder.linearised_shifts_ISD
Jacobian $J_{IJ} = \partial_J\, D_I W$, or the scalar-potential Hessian for critical points
shift $\Delta = -J^{-1} r$, update $(z, \tau) \mathrel{+}= \Delta$
FluxVacuaFinder.newton_method_flux_vacua() ·
scipy.optimize.root(method='hybr')
FluxVacuaFinder.fterm_solver() · sample_SUSY_flux_vacua()
FluxEFT.mass_matrix · FluxEFT.hessian
Flux vacua finder#
|
Canonical entry point for searching, sampling, and classifying flux vacua in Type IIB string theory on a Calabi--Yau threefold. |
Newton minimisation#
Solves the minimum conditions for flux vacua using Newton's method. |
|
|
Computes residual. |
Linearised shifts#
|
Computes the linearised shifts for the complex structure moduli and the axio-dilaton. |
|
Computes the linearised shifts for the complex structure moduli and the axio-dilaton based on \(ISD_+\)-sampling for fluxes. |
|
Computes linearised shifts for the complex structure moduli and axio-dilaton based on given H-flux. |
|
Computes linearised shifts for the complex structure moduli and axio-dilaton based on given F-flux. |
Flux vacuum sampling#
|
Solves F-term conditions for a given optimiser. |
|
Samples SUSY flux vacua. |
Samples SUSY flux vacua for given input fluxes. |
|
|
Removes duplicate vacua from a batch of solutions. |
Critical-point sampling (non-SUSY)#
The non-SUSY workflow — sampling Gaussian-M-prior fluxes, ISD-completing
them, refining via Newton / optax / scipy, and filtering — lives directly
on FluxVacuaFinder post-merge.
Sample critical points of the scalar potential \(V\) by drawing Gaussian-M-prior flux candidates, ISD-completing them, refining via the chosen solver, then filtering by physicality and deduplicating. |
|
|
Convenience wrapper that runs the full Gaussian-M-prior calibration pipeline in one call: |
|
Empirically refine the Gaussian-prior σ per ISD mode by binary-search. |
|
Save calibrated prior parameters to a JSON file for reuse. |
Load calibrated prior parameters from a JSON file produced by |
|
|
Construct a |