Automatic detection of fast oscillations of dark matter scalar field and updated cosmological constraints on QCDM
Abstract
It is well known that a scalar field dark matter with a quadratic potential undergoes fast oscillations when the time period represented by the mass scale in the Klein-Gordon equation becomes much smaller than that set by the Hubble parameter. This makes a solution to the equation numerically intractable. Many works in the literature have addressed the problem by either switching between solving the Klein-Gordon equation in the well-behaved regime to solving the fluid equations at the onset of oscillations, or by introducing a new set of variables that can absorb these oscillations. Despite being successful, these techniques rely on an estimate of when the oscillations start. For large scale scans of a model’s parameter space, this can become cumbersome. Furthermore, the techniques have been used mainly for non-interacting dark matter models. In this work, we introduce an averaging technique with an automatic detection of the onset of oscillations, capable of capturing the non-interacting as well as the interacting dark matter scenarios. The technique, implemented in CLASS, is tested on the QCDM model and shows excellent detection and averaging abilities. We also update the cosmological constraints on the model using the most recent public data.
Contents
- 1 Introduction
- 2 The simple model
- 3 The interacting model
- 4 The effect of DM-DE interaction on the equation of state
- 5 Averaging in the presence of interactions
- 6 Automatic detection of the transition phase
- 7 Effect of DM-DE interaction on perturbations
- 8 Updated constraints on cosmological parameters
- 9 Conclusion
- References
1 Introduction
Ultralight spin-zero fields show a remarkable success in capturing the behavior of the dark sector elements of cosmology, i.e., dark matter and dark energy. A minimally coupled spin-zero field can exhibit a rich phenomenology over the history of cosmic evolution depending on the form of its potential and the cosmic epoch under consideration. This versatility has motivated the use of these fields as candidates for both dark energy and dark matter, thus replacing the cold dark matter (CDM) paradigm in concordance CDM model [1, 2, 3]. A dark matter scalar field undergoes rapid oscillations around the minimum of its potential after the field overcomes the Hubble friction. These coherent oscillations give an energy density that dilutes with the expansion of the universe as matter does, i.e., the scalar field mimics a pressureless fluid. On the other hand, a slowly-varying field can generate negative pressure, thus driving the late-time accelerated expansion of the universe. A popular example of such a field is known as quintessence [4, 5, 6, 7, 8] (for a review see ref. [9] and references therein). Unlike the cosmological constant, quintessence possesses a dynamical background evolution and a non-trivial perturbation which can leave observable signatures in the expansion history and cosmological structure.
A scalar field dark matter with a quadratic potential [10, 11, 12, 13, 14, 15, 16, 17, 18, 19] (see refs. [20, 21] for reviews) behaves as pressureless matter at the onset of rapid oscillations, which happens when the Hubble rate, , becomes less than the mass parameter in the potential. This has been realized and studied in ultralight axion and fuzzy dark matter scenarios [22, 1, 15], where for a potential of the form , the oscillation-averaged energy density redshifts as
| (1.1) |
where is the scale factor and the effective equation of state is
| (1.2) |
For the quadratic case, , and so the rapidly oscillating scalar field behaves like nonrelativistic matter. The inclusion of anharmonic corrections resulting from the addition of the self-interaction quartic term [23, 24] has been shown to alter the pressure of the field which leads to experimental constraints on the self-interaction strength [25]. Linear perturbations in scalar fields introduce a characteristic scale below which a pressure perturbation can sustain a non-negligible sound speed which causes a scale-dependent suppression of the matter transfer function. This is known to happen in the case of ultralight scalar fields and fuzzy dark matter. For scalar fields with a quadratic potential (and mass ), the Jeans scale
| (1.3) |
tells us that for sufficiently large dark matter masses, the scalar field will reproduce the exact CDM behavior while smaller masses will produce observable oscillatory features suppressing small-scale linear power [1, 19].
Even though the unique and characteristic feature of rapid oscillations of scalar fields is important to reproduce the CDM behavior, it presents a challenge when numerically solving for the evolution of the field. When the mass scale in the problem becomes larger than the Hubble parameter, an increasingly large number of oscillations must be resolved during each cosmological timescale. This becomes particularly problematic especially in Boltzmann solvers like CLASS [26] where the background and perturbations modules are run repeatedly to evaluate the cosmology. The problem is made worse when a Markov Chain Monte Carlo simulator is involved since these calculations may be repeated thousands of times. The treatment of the transition from slow field variations to the rapid oscillations is therefore an essential component of precision scalar field dark matter cosmology [27, 19]. A common strategy in the literature is to solve for the exact evolution of the slowly-varying field prior to oscillations and then transition to solving the averaged fluid equations at the onset of oscillations, which has shown to be very useful in studying the CMB and matter power spectra of ultralight axions11 1 This strategy has been implemented in a numerical code called axionCAMB [28].. The accuracy of this method has been investigated extensively. For example, the authors of ref. [29] have demonstrated that inaccuracies in the averaging methods can propagate into a number of precision cosmological observables, thus biasing the outcome. More recently, ref. [30] came up with an improved effective-fluid description designed to reproduce the exact axion evolution to the sub-percent accuracy. An alternative approach was introduced by refs. [19, 31], where new variables, including a polar angle , were used to turn the Klein-Gordon equation into a set of coupled first order differential equations. Interestingly, the equation of state of the scalar field can be written as , which makes the averaging process more straightforward. Detailed numerical studies have shown that such formulations can reproduce the original scalar-field equations accurately while substantially improving their practical treatment in a Boltzmann code
All of the above techniques discussed in the literature rely on a criteria to tell us when these rapid oscillations in the scalar field start, and it usually pertains to the smallness of the ratio . Once this ratio hits a small enough value, the averaging is switched on. If the chosen criteria forces an early transition, then the averaging scheme will be implemented prematurely, whereas a late transition will unnecessarily force the integrator to resolve the rapid oscillations causing a slow down of the process. It may be straightforward to predict the transition scale for simple models, but this quickly becomes cumbersome in multi-field models with interactions involved and where large parts of the parameter space need to be explored. The accuracy of the handoff between exact and averaged evolution is an important ingredient in precision predictions [29, 30].
In this work, we present a technique to automatically detect the time of the onset of oscillations of a scalar field and implement it in CLASS. Rather than requiring the user to guess the criteria at which averaging needs to be activated, the algorithm automatically detects a specific change in the evolution of some dynamical variables which signals the start of the oscillatory phase. The code then employs an independent method to confirm that the measured changes indeed correspond to the beginning of these rapid oscillations. After the transition point is detected, the averaging procedure is triggered. The algorithm therefore determines the transition from the field dynamics itself, while retaining a manual mode for direct numerical comparison and validation. We apply this method of automatic detection and averaging to a field-theoretic model of cosmology, known as QCDM [32, 25, 33, 34, 35]. We then use the most up-to-date cosmological data to derive constraints on the cosmological parameters of the model and compare the fits to those of CDM.
The rest of the paper is organized as follows: in section 2 we go over a simple model which uses an averaging technique that is common in the literature, and in section 3 the QCDM model is introduced as a field-theoretic model of interacting dark matter and dark energy. We study the effect of this interaction on the dark matter equation of state in section 4 and explain why the standard averaging technique can fail in this situation. In sections 5 and 6 we introduce the new averaging technique that addresses the presence of interactions and the automatic detection method of the onset of oscillations and describe the implementation in CLASS. We explain in section 7 the effect of the interaction on the perturbations and then extract the new constraints on the model parameters in section 8. We end in section 9 with conclusions.
2 The simple model
A minimal modification to CDM involves replacing a fluid-like cold dark matter with an ultralight scalar field having a simple quadratic potential . The energy density and pressure of the field are
| (2.1) | ||||
| (2.2) |
where is the scale factor and a prime represents derivative with respect to conformal time. The DM field obeys the Klein-Gordon (KG) equation
| (2.3) |
where is the conformal Hubble parameter. In this equation, there are two competing time scales, and . Given that the DM field is ultralight, there will be a time during the cosmic history when which causes the DM field to oscillate violently at the minimum of its potential. As a consequence, the field will start to behave as cold dark matter with an energy density that dilutes as . However, any numerical code will face difficulty in this regime since the integrator will take progressively smaller steps to try and overcome the stiffness of the KG equation, causing the code to stall.
To overcome this difficulty, one can solve the KG equation in the well-behaved regime and then switch to solving the fluid equations once oscillations start. This requires a criteria that triggers the code to perform this switch, and in general is chosen to be when [23]. This choice is arbitrary and can fail in more complicated models and when exploring larger parts of the parameter space. Another method would be to introduce a new set of variables and convert the KG equation into a set of coupled first order differential equations which can be easily handled. We now briefly go over the latter method which has previously been discussed in the literature.
Thus, we introduce three dimensionless variables, , and , defined as [36, 37]
| (2.4) |
where and is the usual energy density fraction. One can then show that the KG equation of can be turned into the following differential equations
| (2.5) | ||||
| (2.6) | ||||
| (2.7) |
where is the total equation of state, with the sum running over all species (baryons, photons, neutrinos, DM and DE). One can easily show that the equation of state of , conveniently, becomes
| (2.8) |
During the rapid oscillations that the field undergoes, the equation of state oscillates between and and the fact that makes the averaging process straightforward, i.e., , as intended. This procedure usually implements a cutoff scale which is introduced by defining [19]
| (2.9) |
In this case, for , , while for , . The cutoff scale is guessed by trial and error and a convenient value for the non-interacting case turns out to be . However, this value may fluctuate and can greatly differ for very different models, especially in the presence of interactions.
3 The interacting model
In a field-theoretic analogue to the standard model of cosmology, we introduce two interacting ultralight spin-zero fields: one is a scalar dark matter (DM) field, , and the other is a quintessence-type pseudoscalar, . We call this model QCDM, with an action given by [32, 25, 33, 34, 35]
| (3.1) |
where the total potential is
| (3.2) |
For this model, we consider the following forms for the DM, DE and interaction potentials:
| (3.3) | ||||
| (3.4) | ||||
| (3.5) |
where is the DM bare mass, and are constants and represents the DM-DE interaction strength.
The perturbed spacetime FLRW metric in the synchronous gauge is
| (3.6) |
where is the conformal time, for flat spacetime and is a spatial perturbation. The DM and DE fields are also perturbed as well as the stress-energy tensor, so that
| (3.7) | ||||
| (3.8) | ||||
| (3.9) |
where the elements of the mixed stress-energy tensor are
| (3.10) |
Here represents the anisotropic stress, the 3-velocity and and are the density and pressure perturbations, respectively.
As a result, the energy density and pressure of the background fields are
| (3.11) | |||
| (3.12) |
where represents the energy density and the pressure . The corresponding continuity equations for the background fields then read
where the notation means , is the conformal Hubble parameter and is the equation of state. To make sure conservation of energy of the {DM, DE} system while preserving diffeomorphism of the theory, we define the total energy density as
| (3.13) |
which prevents a double-counting of the interaction potential and satisfies . The evolutions of the background fields and are determined by solving the Klein-Gordon (KG) equations
| (3.14) | ||||
| (3.15) |
The density and pressure perturbations of the two fields, and , in the synchronous gauge are given by
| (3.16) | ||||
| (3.17) |
where, again, and . In terms of the wavenumber , the momentum densities of the fields are
| (3.18) | ||||
| (3.19) |
where is the velocity divergence. Determining the perturbations in Eqs. (3.16) and (3.17) requires solving the KG equations for the background, Eqs. (3.14) and (3.15), and the KG equations perturbations. The latter are given by
| (3.20) | ||||
| (3.21) |
where and .
We would like to make use of the new variables , and introduced earlier. However, for the interaction case, it is easier to deal with the modified energy density , such that . We can then add the interaction term in the final equations of the analysis. Therefore, the new background variables become
| (3.22) | ||||
| (3.23) | ||||
| (3.24) |
When it comes to tbe perturbations, we define the DM density perturbation by absorbing the interaction term into the , so that
| (3.25) |
In this notation, the density contrast is . A new set of dimensionless variables can be introduced as well for the perturbations
| (3.26) | ||||
| (3.27) | ||||
| (3.28) | ||||
| (3.29) |
where represents the amplitude of perturbations, a placeholder that will ultimately drop out of the calculations. The quantity is related to the pressure perturbation so that
| (3.30) |
These variables allow us to determine the background and perturbation evolution equations which were derived in an earlier work [32].
Once the energy density fraction is determined, the energy density of the DM field is found using
| (3.31) |
which is a more convenient way to determine the energy density in CLASS. Furthermore, the determination of allows for the calculation of followed by using Eq. (3.25). Similarly, after determining the pressure perturbation from Eq. (3.30), we deduce using
| (3.32) |
These set of equations constitute a closed system for determining the background and perturbation parameters. However, the prescription for averaging introduced in Eq. (2.9) does not capture the presence of the interaction term. When applied, it leaves a residual pressure component that contributes to the DM’s equation of state during rapid oscillations. In the next section, we explain this subtle issue.
4 The effect of DM-DE interaction on the equation of state
The KG equation of , Eq. (3.14), can be cast in the form
| (4.1) |
where we defined the effective mass as which includes the interaction strength and the DE field. During the period of rapid oscillations of , the DE field is still rolling gently down its potential which makes a slowly-varying function of time. Next, we define so that the KG equation takes the form
| (4.2) |
Recall that during fast oscillations, , and so the ratios in the parenthesis can be ignored. Using the WKB approximation [38], we get
| (4.3) |
where is a constant of integration. Setting , we find
| (4.4) |
We can then easily find the corresponding averages
| (4.5) | ||||
| (4.6) |
It follows that the average of the energy density is and so we write
| (4.7) |
Taking the average of the interaction potential yields
| (4.8) |
Then, the definition leads to
| (4.9) |
Using Eqs. (4.5) and (4.6), we find the average of the pressure to be
| (4.10) |
It follows that the contribution of the DM-DE interaction to the averaged equation of state must be zero. Based on our definition and taking the average we get the relations
| (4.11) |
If one naively implements the averaging based on Eq. (2.9), we get , which means that . Therefore, the equation of state will erroneously pick up an extra contribution from the interaction term in contradiction with the conclusion from Eq. (4.10). This shows that a new averaging approach must be implemented numerically to avoid this problem.
5 Averaging in the presence of interactions
In this section we present the modified equations that allow for a consistent treatment of averaged quantities in the presence of interactions. We first define the transition function
| (5.1) |
where represents the value of where the transition into the oscillatory regime happens and is the width of the transition. We will describe in the next section how the CLASS implementation can automatically detect without the need for it to be specified by the user. We define the following quantities based on
| (5.2) | ||||
| (5.3) | ||||
| (5.4) | ||||
| (5.5) |
where now represents the interaction term. In the exact regime, while at the onset of oscillations . From the above equations, we can clearly see that when , as required. The square of the field is also replaced by the definition
| (5.6) |
Therefore, the DM potential and the interaction potential are replaced
| (5.7) | ||||
| (5.8) |
and a derivative with respect to becomes a derivative with respect to . Trigonometric factors are weighted similarly to Eq. (2.9) so that and (and the same applies for half-angle expressions). Furthermore, there are combinations of the form that appear as a result of the interaction term and these are replaced by
| (5.9) | ||||
| (5.10) |
With this prescription described thus far, we made sure that the averaged equation of state of DM does not receive any contribution from the interaction term. We modified the equations to ensure a consistent analysis for the background equations which allows us to safely use the new variables introduced in Eqs. (3.22)(3.24).
A similar approach must be implemented for the perturbations as well. For the density perturbations, we write Eq. (3.25) as
| (5.11) |
where we introduced the quantity . Using Eqs. (3.27), (3.28) and (3.29), we can determine the expression of to be
| (5.12) |
with the replacement of and understood based on Eqs. (5.9) and (5.10).
In the fast oscillations regime, the DM scalar field behaves as cold dark matter and so must be zero. Similar to the background case where we made sure in the oscillations regime, we need to modify the pressure perturbation equations to give us in the limit . Note that Eq. (3.32) is simply . So, we define
| (5.13) | ||||
| (5.14) | ||||
| (5.15) |
It is easy to see that when , we get
| (5.16) |
So, now we have a complete set of consistent background and perturbation equations that capture the proper averaging when an interaction term is present.
6 Automatic detection of the transition phase
In Eq. (5.1), we introduced the phase which represents the value of when fast oscillations of the DM field begin. As discussed before, this value is usually chosen by running multiple points over a range of values and inspecting when oscillations start. This is of course not ideal as the user-defined value can change depending on the parts of the parameter space being investigated and on whether an interaction term is present or not. We discuss here a method that can be implemented in CLASS to allow the code to automatically detect the beginning of the oscillatory period and commence with the averaging procedure.
The key for detecting the onset of oscillations is to track the evolution of the ratio . We show in the bottom left panel of Fig. 1 the evolution of versus the redshift . Oscillations begin at around which is where we see a sudden drop in the ratio . To see the reason for this drop, analytically, we rewrite the background equations, Eqs. (2.6) and (2.7) in terms of a derivative with respect to , so that
| (6.1) | ||||
| (6.2) |
where is a slowly-varying function of time. Here we are using the case with no interaction just for illustrative purposes. The rate of change of is then
| (6.3) |
which can be written in the final form as
| (6.4) |
One attractor solution is
| (6.5) |
In the limit , and for , . This explains the drop in when evolves from small to large values. During radiation domination, , so . Therefore, changes from to which is exactly what is seen in the bottom left panel of Fig. 1. The bottom right panel shows the evolution of which exhibits a sudden rise in its value at the same value at which drops. Notice that in the upper left panel, the evolution of the DE energy density shows a short spike near where DM scalar field oscillations begin. This effect is communicated from DM to DE via the interaction term between the two. The upper right panel shows the evolution of the fractional density of all the species and they all follow the standard evolution with radiation domination at early times and DE domination at late times.
Define the instantaneous ratio at a given point as
| (6.6) |
and the running maximum which is the largest ratio encountered up to and including the current point as
| (6.7) |
Once is sufficiently different from zero to avoid an ill-conditioned division, i.e., , the quantity is updated at every accepted background point and its purpose is to estimate the value of the plateau and monitor changes in its evolution. A candidate drop in the value of is identified when two conditions are met:
| (6.8) | ||||
| (6.9) |
where we chose which means that the ratio must fall by at least below its running maximum. The first condition requires the ratio be decreasing at the current background point. The second requires that the decrease be sufficiently large relative to the previously learned plateau. The first accepted background point satisfying both conditions is stored and the value of at this point is .
This ratio criterion is not sufficient by itself since a local increase in can create a decrease in which the algorithm may classify as a drop due to the onset of rapid oscillations. Therefore, an independent test of the sign changes in the equation of state is implemented.
We have seen that the onset of fast oscillations brings about a rapidly varying equation of state with alternating sign. The code tracks the value of and at each accepted background point, the sign of is classified according to
| (6.10) |
The finite amplitude defines a narrow corridor around zero. Values inside this corridor are ignored so that numerical noise or a single point located close to a zero crossing is not counted as a physical change of sign. Whenever a new nonzero sign differs from the previous nonzero sign, the sign-change counter is increased. Samples with neither increase the counter nor erase the most recently resolved sign. The oscillatory behavior is regarded as confirmed only after all of the following have occurred:
- 1.
at least one positive value of ,
- 2.
at least one negative value of ,
- 3.
the number of sign changes must be greater than or equal some number which is set to 2 by default.
Requiring more than one sign change provides additional evidence that the phase is genuinely running through repeated oscillations rather than undergoing a single crossing.
Once the test confirms the interpretation of the stored ratio drop, the switching phase is set to
| (6.11) |
where is the minimum value that must be reached before the switch trigger can be accepted and the padding allows the exact solution to continue for a short additional phase interval after the detected onset. This ensures that the code does not begin averaging at the very first indication of the transition.
In Fig. 2 we show the effect of the ‘automatic’ (upper panel) and ‘manual’ (lower panel) modes on the DM equation of state. It is clear that the ‘automatic’ mode precisely determines the redshift at which oscillations begin and trigger the averaging procedure, whereas in the ‘manual’ mode, the field undergoes rapid oscillations for a longer period of time before the averaging is triggered. One can see the same effects on the evolution of the DM field in the right panels of Fig. 2.
We show in table 1 the controls implemented in CLASS for the automatic detection of the oscillatory phase of the scalar field. The key osc_threshold_mode can be set to either ‘automatic’ or ‘manual’. In the ‘automatic’ mode, the code detects the transition based on the mechanism described here while in the ‘manual’ mode, the code utilizes the user-specified threshold which is the classical treatment.
| Parameter | Typical value | Role |
|---|---|---|
| osc_threshold_mode | automatic | Selects the automatic detector. |
| osc_transition_width | 5 | Width of the interpolation. |
| osc_auto_ratio_theta_floor | Phase floor used while learning . | |
| osc_auto_min_theta | 6 | Minimum phase before the trigger can be accepted. |
| osc_auto_ratio_drop | 0.70 | Fraction defining the required drop. |
| osc_auto_w_amplitude | 0.10 | Minimum resolved . |
| osc_auto_min_sign_changes | 2 | Required number of nonzero sign changes. |
| osc_auto_padding | 5 | Padding added to . |
In the ‘automatic’ mode, an .ini file block of CLASS looks like:
whereas the manual mode looks like:
The modified CLASS code used in this analysis is made available on the Github page. To locate the changes made to CLASS, users can search for the word NEW in the input.c, background.c and perturbations.c modules and the corresponding header files.
7 Effect of DM-DE interaction on perturbations
In this section, we study the effect of DM-DE interaction on observables tied to linear perturbations, namely, the CMB and matter power spectra. The lensed temperature-temperature power spectrum of the CMB is shown in the left panel of Fig. 3 for QCDM (solid curve) and CDM (dashed curve). The bottom panel shows the difference in prediction between the two models. It is clear that the overall CMB power spectrum of QCDM matches closely that of CDM on almost all scales, where the acoustic peak amplitudes are largely unaltered which shows that DM-DE interaction does not alter the physics of recombination. However, examining the lower panel for minute changes, one can see that QCDM features a power suppression at the lowest multipoles, an oscillatory pattern for higher multipoles and a percent-level change in the first acoustic peak. The interesting modulating fractional change seen at high suggests that DM-DE interaction modifies the gravitational driving and damping of the photon-baryon system.
To verify the above interpretation, we plot in Fig. 4 the Newtonian potentials and as a function of the scale factor for two values of the wavenumber. These modes are the ones relevant to the first few acoustic peaks and they tell a consistent story. QCDM produces an enhancement in the gravitational potential for increasing values of and this enhancement is more pronounced for higher values of . Therefore, the interaction changes the evolution of the metric potentials ever so slightly around recombination which influences the gravitational driving of the photon-baryon oscillator. This naturally accounts for the small oscillatory features seen in the CMB power spectrum.
Now, we turn our attention to the matter power spectrum. To understand this, we examine the growth of the scalar field DM density contrast in QCDM and compare it to in CDM, as shown in Fig. 5. It is clear that scalar field DM follows very closely CDM at early times and only begins to show deviations below the percent level just after . This means that any suppression of the matter power spectrum seen in QCDM is cumulative and does not happen instantaneously near recombination. This leads us to the most prominent signature of DM-DE interaction reflected in the suppression of the matter power spectrum at late times over a range of modes as seen in the right panel of Fig. 3. QCDM predicts a suppression relative to CDM by roughly , with the largest dip around , followed by a mild increase at higher wavenumbers. This smooth suppression over all modes is indicative of a cumulative suppression in growth rather than a sudden cutoff in .
There is an interesting distinction between the CMB and large-scale structure responses. The CMB is mostly established at , when the QCDM perturbations and potentials still differ from CDM by only a fraction of a percent. Consequently, the primary TT spectrum receives only modest changes. Matter perturbations, on the other hand, continue to evolve for the entire interval from recombination to the present. Even a relatively small modification of the growth rate,
| (7.1) |
can therefore integrate into a large difference in the final amplitude:
| (7.2) |
Since , a 30% reduction in corresponds only to an amplitude ratio of approximately , i.e. about a 16% reduction in the present-day density-contrast amplitude. Such a difference can plausibly accumulate gradually over many e-folds of late-time evolution without requiring a comparably large departure around recombination.
8 Updated constraints on cosmological parameters
The Boltzmann solver CLASS is interfaced with Cobaya [39], a code for sampling and statistical modeling, to perform a Markov Chain Monte Carlo (MCMC) analysis of the model parameter space which allows us to extract constraints on the cosmological parameters through Bayesian inference. Cobaya utilizes an adaptive, speed-hierarchy-aware MCMC sampler (adapted from CosmoMC) [40, 41] using the fast-dragging procedure described in ref. [42]. We monitor the convergence of the chains using the Gelman-Rubin [43] criterion . After convergence, the chains are analyzed with GetDist [44]22 2 https://github.com/cmbant/getdist, a package allowing for the extraction of numerical results, including 1D posteriors and 2D marginalized probability contours. In this section we update the constraints on the QCDM model parameters using the most recent public data. The data sets are organized as follows:
- 1.
DESI DR2 BAO: We use baryon acoustic oscillation (BAO) measurements from the second data release of the Dark Energy Spectroscopic Instrument (DESI DR2), based on galaxies, quasars, and the Ly forest over the approximate redshift range . These measurements constrain the late-time expansion history through the transverse and radial BAO distance scales [45, 46]. This data set is referred to as DESI.
- 2.
Pantheon+ supernovae: We use the Pantheon+ compilation of Type Ia supernovae, consisting of 1701 light curves from 1550 SNe Ia spanning . The sample constrains the relative luminosity-distance–redshift relation and hence the late-time expansion history. We use the Pantheon+ likelihood without the SH0ES Cepheid calibration [47]. This data set is referred to as PP.
- 3.
Pantheon+SH0ES supernovae: We also consider the Pantheon+SH0ES likelihood, which combines the Pantheon+ Type Ia supernova sample with the SH0ES Cepheid calibration of supernova host galaxies. In contrast to Pantheon+ alone, the inclusion of the distance-ladder calibration provides an absolute calibration of the supernova luminosities and therefore directly constrains the present-day Hubble constant [47]. This data set is referred to as PPS.
- 4.
The CMB data used is under the name CMB and is comprised of:
- (a)
- (b)
- (c)
ACT DR6 + Planck PR4 CMB lensing: We use the ACT DR6 lensing likelihood in its actplanck_baseline configuration, which combines the ACT DR6 and Planck PR4 CMB lensing reconstructions while accounting for their correlations. The lensing spectrum provides an important probe of the integrated matter distribution and the growth of cosmic structure [51, 52, 53, 54].
- (d)
SPT-3G D1 primary CMB: We include the SPT-3G D1 temperature and polarization measurements from the 2019–2020 observations of the SPT-3G Main field. We use the “lite” likelihood with for TT and for TE and EE, providing an independent high-resolution measurement of the small-scale CMB [55].
- (e)
SPT-3G CMB lensing: We include the SPT-3G CMB lensing reconstruction obtained from the 2019–2020 polarization data using the MUSE analysis. In our likelihood, we use only the reconstructed lensing-potential power spectrum, , which provides an independent constraint on the projected matter distribution and the growth of structure [56, 57].
We impose flat priors on the model parameters, except for where a Gaussian prior is implemented. The flat priors are presented in table 2.
| Parameter | Prior |
|---|---|
The parameter that enters in the DE quintessence potential becomes a derived parameter. In fact, we use in CLASS as a shooting parameter which gets updated starting from a guessed value and the algorithm predicts the correct value that satisfies the closure condition , where the sum is over all species.
We use MCEvidence33 3 https://github.com/yabebalFantaye/MCEvidence [58, 59] to calculate the Bayes factors normalized to the baseline CDM which allows us to compare the performance of QCDM versus CDM in fitting the data. A negative value means that data favors CDM while a positive value means QCDM is favored. The classification uses the revised Jeffreys scale by Kass and Raftery as given in refs. [60, 61]: (i) for , the model has an inconclusive evidence, (ii) for , the model has a weak evidence, (iii) for , the model has a moderate evidence, and, finally, (iv) for , the model has a strong evidence.
Table 3 summarizes the constraints on the QCDM parameters for the three data combinations. The inclusion of DESI and the additional low-redshift data significantly tightens the parameter constraints and shifts the preferred value of the Hubble constant upward, from for CMB alone to for CMB+DESI+PPS. This is accompanied by a decrease in both and , with the latter reaching for the full data combination. The additional datasets also strengthen the bounds on the scalar-field parameters, particularly and , while the interaction parameter remains comparatively weakly constrained.
| Parameter | CMB | CMB+DESI+PP | CMB+DESI+PPS |
|---|---|---|---|
The goodness-of-fit comparison shows no substantial improvement of QCDM over CDM. Although CMB+DESI+PP yields a modest improvement, with , the CMB-only and CMB+DESI+PPS combinations give slightly larger minimum values than CDM. Moreover, the negative Bayes factors for all three data combinations indicate an overall Bayesian preference for CDM, with the preference becoming stronger for the full CMB+DESI+PPS dataset, for which . Thus, while QCDM provides a viable fit to the data and produces modest shifts in several cosmological parameters, the additional model freedom is not sufficiently favored by the data to overcome the Bayesian complexity penalty.
The two-dimensional posteriors in Fig. 6 highlight several parameter degeneracies that are less apparent from the marginalized constraints alone. In particular, is strongly anticorrelated with and positively correlated with , while the nearly perfect anticorrelation between and reflects the background energy-budget constraint. The scalar-sector parameters exhibit more pronounced non-Gaussian degeneracies, most notably between and , whose allowed region is strongly shaped by their respective parameter boundaries. By contrast, shows only weak correlations with most of the standard cosmological parameters and remains broadly distributed, indicating that the present data have limited power to isolate the interaction strength. The addition of DESI and the low-redshift datasets noticeably reduces the geometrical degeneracies among the background parameters, although some of the degeneracy within the scalar sector persists.
9 Conclusion
The correct and accurate description of scalar field cosmology requires methods to treat a fast oscillations which makes finding a solution to the Klein-Gordon equation numerically intractable. The existing literature focuses on two methods: (1) solving the exact Klein-Gordon equation prior to the onset of fast oscillations and then switching to solving the averaged (fluid) equations once these oscillations begin, or (2) introducing new variables that allows us to rewrite the Klein-Gordon equation in a way which makes it easier to handle numerically. Both of these approaches rely on an estimate of when the rapid oscillations in the scalar field begin. An incorrect estimate can either skew the results and allow for inaccuracies to propagate into the calculations of observables or can slow down numerical codes which can be problematic especially when running MCMC simulations.
In this work, we presented an accurate method, which we implemented in CLASS, to automatically detect the onset of oscillations and trigger the averaging process. The algorithm also employs a second independent method to verify the oscillations are indeed happening by checking for sign changes in the DM equation of state. We demonstrated the efficiency and accuracy of this technique by applying it to the field-theoretic model of cosmology, QCDM, which includes a DM-DE interaction term. The modified CLASS code with the detection and averaging techniques is made public on the Github page. The CLASS model is run with the MCMC tool Cobaya to extract an updated set of constraints on the model parameter space of QCDM. The full data set results in tighter constraints on the cosmological parameters with a preference for higher , while the interaction term remains weakly constrained. Despite having an overall slightly better fit to data, the Bayes factor shows that the preference of QCDM over CDM is inconclusive. In other words, both models can explain the data equally well.
Acknowledgments: The research of PN was supported in part by the NSF Grant PHY-2209903, while the work of AA is supported in part by the NASA CT Space Grant Prosum number P-2590. This work used the Explorer cluster at Northeastern University for MCMC simulations.
References
- [1] W. Hu, R. Barkana and A. Gruzinov, Phys. Rev. Lett. 85, 1158-1161 (2000) doi:10.1103/PhysRevLett.85.1158 [arXiv:astro-ph/0003365 [astro-ph]].
- [2] A. Ringwald, Phys. Dark Univ. 1, 116-135 (2012) doi:10.1016/j.dark.2012.10.008 [arXiv:1210.5081 [hep-ph]].
- [3] L. Hui, J. P. Ostriker, S. Tremaine and E. Witten, Phys. Rev. D 95, no.4, 043541 (2017) doi:10.1103/PhysRevD.95.043541 [arXiv:1610.08297 [astro-ph.CO]].
- [4] B. Ratra and P. J. E. Peebles, Phys. Rev. D 37, 3406 (1988) doi:10.1103/PhysRevD.37.3406
- [5] R. R. Caldwell, R. Dave and P. J. Steinhardt, Phys. Rev. Lett. 80, 1582-1585 (1998) doi:10.1103/PhysRevLett.80.1582 [arXiv:astro-ph/9708069 [astro-ph]].
- [6] C. Wetterich, Nucl. Phys. B 302, 668-696 (1988) doi:10.1016/0550-3213(88)90193-9 [arXiv:1711.03844 [hep-th]].
- [7] A. Albrecht and C. Skordis, Phys. Rev. Lett. 84, 2076-2079 (2000) doi:10.1103/PhysRevLett.84.2076 [arXiv:astro-ph/9908085 [astro-ph]].
- [8] C. Wetterich, Phys. Lett. B 594, 17-22 (2004) doi:10.1016/j.physletb.2004.05.008 [arXiv:astro-ph/0403289 [astro-ph]].
- [9] S. Tsujikawa, Class. Quant. Grav. 30, 214003 (2013) doi:10.1088/0264-9381/30/21/214003 [arXiv:1304.1961 [gr-qc]].
- [10] V. Sahni and L. M. Wang, Phys. Rev. D 62, 103517 (2000) doi:10.1103/PhysRevD.62.103517 [arXiv:astro-ph/9910097 [astro-ph]].
- [11] T. Matos and L. A. Urena-Lopez, Class. Quant. Grav. 17, L75-L81 (2000) doi:10.1088/0264-9381/17/13/101 [arXiv:astro-ph/0004332 [astro-ph]].
- [12] L. Amendola and R. Barbieri, Phys. Lett. B 642, 192-196 (2006) doi:10.1016/j.physletb.2006.08.069 [arXiv:hep-ph/0509257 [hep-ph]].
- [13] T. Matos, A. Vazquez-Gonzalez and J. Magana, Mon. Not. Roy. Astron. Soc. 393, 1359-1369 (2009) doi:10.1111/j.1365-2966.2008.13957.x [arXiv:0806.0683 [astro-ph]].
- [14] J. c. Hwang and H. Noh, Phys. Lett. B 680, 1-3 (2009) doi:10.1016/j.physletb.2009.08.031 [arXiv:0902.4738 [astro-ph.CO]].
- [15] D. J. E. Marsh and P. G. Ferreira, Phys. Rev. D 82, 103528 (2010) doi:10.1103/PhysRevD.82.103528 [arXiv:1009.3501 [hep-ph]].
- [16] N. Glennon, N. Musoke and C. Prescod-Weinstein, Phys. Rev. D 107, no.6, 063520 (2023) doi:10.1103/PhysRevD.107.063520 [arXiv:2302.04302 [astro-ph.CO]].
- [17] C. G. Park, J. c. Hwang and H. Noh, Phys. Rev. D 86, 083535 (2012) doi:10.1103/PhysRevD.86.083535 [arXiv:1207.3124 [astro-ph.CO]].
- [18] B. Li, T. Rindler-Daller and P. R. Shapiro, Phys. Rev. D 89, no.8, 083536 (2014) doi:10.1103/PhysRevD.89.083536 [arXiv:1310.6061 [astro-ph.CO]].
- [19] L. A. Ureña-López and A. X. Gonzalez-Morales, JCAP 07, 048 (2016) doi:10.1088/1475-7516/2016/07/048 [arXiv:1511.08195 [astro-ph.CO]].
- [20] D. J. E. Marsh, Phys. Rept. 643, 1-79 (2016) doi:10.1016/j.physrep.2016.06.005 [arXiv:1510.07633 [astro-ph.CO]].
- [21] J. Magana, T. Matos, A. Suarez and F. J. Sanchez-Salcedo, JCAP 10, 003 (2012) doi:10.1088/1475-7516/2012/10/003 [arXiv:1204.5255 [astro-ph.CO]].
- [22] T. Matos and L. A. Urena-Lopez, Phys. Rev. D 63, 063506 (2001) doi:10.1103/PhysRevD.63.063506 [arXiv:astro-ph/0006024 [astro-ph]].
- [23] J. A. R. Cembranos, A. L. Maroto, S. J. Núñez Jareño and H. Villarrubia-Rojo, JHEP 08, 073 (2018) doi:10.1007/JHEP08(2018)073 [arXiv:1805.08112 [astro-ph.CO]].
- [24] H. Foidl and T. Rindler-Daller, Phys. Rev. D 105, no.12, 123534 (2022) doi:10.1103/PhysRevD.105.123534 [arXiv:2203.09396 [astro-ph.CO]].
- [25] A. Aboubrahim and P. Nath, JCAP 09, 076 (2024) doi:10.1088/1475-7516/2024/09/076 [arXiv:2406.19284 [astro-ph.CO]].
- [26] D. Blas, J. Lesgourgues and T. Tram, JCAP 07, 034 (2011) doi:10.1088/1475-7516/2011/07/034 [arXiv:1104.2933 [astro-ph.CO]].
- [27] J. Lesgourgues, [arXiv:1104.2932 [astro-ph.IM]].
- [28] R. Hlozek, D. Grin, D. J. E. Marsh and P. G. Ferreira, Phys. Rev. D 91, no.10, 103512 (2015) doi:10.1103/PhysRevD.91.103512 [arXiv:1410.2896 [astro-ph.CO]].
- [29] T. Cookmeyer, J. Cookmeyer, D. Grin and T. L. Smith, Phys. Rev. D 101, no.2, 023501 (2020) doi:10.1103/PhysRevD.101.023501 [arXiv:1909.11094 [astro-ph.CO]].
- [30] S. Passaglia and W. Hu, Phys. Rev. D 105, no.12, 123529 (2022) doi:10.1103/PhysRevD.105.123529 [arXiv:2201.10238 [astro-ph.CO]].
- [31] L. A. Ureña-López and F. X. Linares Cedeño, Phys. Rev. D 109, no.2, 023512 (2024) doi:10.1103/PhysRevD.109.023512 [arXiv:2307.05600 [astro-ph.CO]].
- [32] A. Aboubrahim, A. H. Giman and P. Nath, Phys. Rev. D 114, no.2, 023501 (2026) doi:10.1103/3s8n-j6tq [arXiv:2511.22559 [astro-ph.CO]].
- [33] A. Aboubrahim and P. Nath, JCAP 10, 081 (2025) doi:10.1088/1475-7516/2025/10/081 [arXiv:2411.11177 [astro-ph.CO]].
- [34] A. Aboubrahim and P. Nath, [arXiv:2601.19662 [astro-ph.CO]].
- [35] P. Nath and A. Aboubrahim, PoS CORFU2024, 203 (2025) doi:10.22323/1.490.0203 [arXiv:2503.09769 [astro-ph.CO]].
- [36] E. J. Copeland, A. R. Liddle and D. Wands, Phys. Rev. D 57, 4686-4690 (1998) doi:10.1103/PhysRevD.57.4686 [arXiv:gr-qc/9711068 [gr-qc]].
- [37] G. Garcia-Arroyo, L. A. Ureña-López and J. A. Vázquez, Phys. Rev. D 110, no.2, 023529 (2024) doi:10.1103/PhysRevD.110.023529 [arXiv:2402.08815 [astro-ph.CO]].
- [38] J. A. R. Cembranos, A. L. Maroto and S. J. Núñez Jareño, JHEP 03, 013 (2016) doi:10.1007/JHEP03(2016)013 [arXiv:1509.08819 [astro-ph.CO]].
- [39] J. Torrado and A. Lewis, JCAP 05, 057 (2021) doi:10.1088/1475-7516/2021/05/057 [arXiv:2005.05290 [astro-ph.IM]].
- [40] A. Lewis and S. Bridle, Phys. Rev. D 66, 103511 (2002) doi:10.1103/PhysRevD.66.103511 [arXiv:astro-ph/0205436 [astro-ph]].
- [41] A. Lewis, Phys. Rev. D 87, no.10, 103529 (2013) doi:10.1103/PhysRevD.87.103529 [arXiv:1304.4473 [astro-ph.CO]].
- [42] R. M. Neal, [arXiv:math/0502099 [math.ST]].
- [43] A. Gelman and D. B. Rubin, Statist. Sci. 7, 457-472 (1992) doi:10.1214/ss/1177011136
- [44] A. Lewis, JCAP 08, 025 (2025) doi:10.1088/1475-7516/2025/08/025 [arXiv:1910.13970 [astro-ph.IM]].
- [45] M. Abdul Karim et al. [DESI], Phys. Rev. D 112, no.8, 083515 (2025) doi:10.1103/tr6y-kpc6 [arXiv:2503.14738 [astro-ph.CO]].
- [46] M. Abdul Karim et al. [DESI], Phys. Rev. D 112, no.8, 083514 (2025) doi:10.1103/2wwn-xjm5 [arXiv:2503.14739 [astro-ph.CO]].
- [47] D. Brout, D. Scolnic, B. Popovic, A. G. Riess, J. Zuntz, R. Kessler, A. Carr, T. M. Davis, S. Hinton and D. Jones, et al. Astrophys. J. 938, no.2, 110 (2022) doi:10.3847/1538-4357/ac8e04 [arXiv:2202.04077 [astro-ph.CO]].
- [48] N. Aghanim et al. [Planck], Astron. Astrophys. 641, A5 (2020) doi:10.1051/0004-6361/201936386 [arXiv:1907.12875 [astro-ph.CO]].
- [49] E. Calabrese et al. [Atacama Cosmology Telescope], JCAP 11, 063 (2025) doi:10.1088/1475-7516/2025/11/063 [arXiv:2503.14454 [astro-ph.CO]].
- [50] T. Louis et al. [Atacama Cosmology Telescope], JCAP 11, 062 (2025) doi:10.1088/1475-7516/2025/11/062 [arXiv:2503.14452 [astro-ph.CO]].
- [51] N. Sailer, J. Kim, S. Ferraro, M. S. Madhavacheril, M. White, I. Abril-Cabezas, J. N. Aguilar, S. Ahlen, J. R. Bond and D. Brooks, et al. JCAP 06, 008 (2025) doi:10.1088/1475-7516/2025/06/008 [arXiv:2407.04607 [astro-ph.CO]].
- [52] M. S. Madhavacheril et al. [ACT], Astrophys. J. 962, no.2, 113 (2024) doi:10.3847/1538-4357/acff5f [arXiv:2304.05203 [astro-ph.CO]].
- [53] F. J. Qu et al. [ACT], Astrophys. J. 962, no.2, 112 (2024) doi:10.3847/1538-4357/acfe06 [arXiv:2304.05202 [astro-ph.CO]].
- [54] J. Carron, M. Mirmelstein and A. Lewis, JCAP 09, 039 (2022) doi:10.1088/1475-7516/2022/09/039 [arXiv:2206.07773 [astro-ph.CO]].
- [55] E. Camphuis et al. [SPT-3G], Phys. Rev. D 113, no.8, 083504 (2026) doi:10.1103/7wt3-9v2y [arXiv:2506.20707 [astro-ph.CO]].
- [56] F. Ge et al. [SPT-3G], Phys. Rev. D 111, no.8, 083534 (2025) doi:10.1103/PhysRevD.111.083534 [arXiv:2411.06000 [astro-ph.CO]].
- [57] M. Millea and U. Seljak, Phys. Rev. D 105, no.10, 103531 (2022) doi:10.1103/PhysRevD.105.103531 [arXiv:2112.09354 [astro-ph.CO]].
- [58] A. Heavens, Y. Fantaye, E. Sellentin, H. Eggers, Z. Hosenie, S. Kroon and A. Mootoovaloo, Phys. Rev. Lett. 119, no.10, 101301 (2017) doi:10.1103/PhysRevLett.119.101301 [arXiv:1704.03467 [astro-ph.CO]].
- [59] A. Heavens, Y. Fantaye, A. Mootoovaloo, H. Eggers, Z. Hosenie, S. Kroon and E. Sellentin, [arXiv:1704.03472 [stat.CO]].
- [60] R. E. Kass and A. E. Raftery, J. Am. Statist. Assoc. 90, no.430, 773-795 (1995) doi:10.1080/01621459.1995.10476572
- [61] R. Trotta, Contemp. Phys. 49, 71-104 (2008) doi:10.1080/00107510802066753 [arXiv:0803.4089 [astro-ph]].