\documentclass[a4paper,11pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage[perpage,para,symbol]{footmisc}
\usepackage{fancyhdr}
\usepackage{floatrow}
\setlength{\oddsidemargin}{-5mm}
\setlength{\textwidth}{168mm}
\setlength{\topmargin}{-10mm}
\setlength{\headsep}{10mm}
\setlength{\textheight}{240mm}

\renewcommand{\thefootnote}{\alph{footnote}}
\renewcommand\thesection{\sffamily\Alph{section}}
\newcommand\cpp{C\raisebox{1pt}{++}}
\newcommand{\va}{\mathrm{\bf{A}}}
\newcommand{\vb}{\mathrm{\bf{B}}}
\newcommand{\vc}{\mathrm{\bf{c}}}
\newcommand{\vp}{\mathrm{\bf{p}}}
\newcommand{\vr}{\mathrm{\bf{r}}}
\newcommand{\vx}{\mathrm{\bf{x}}}
\newcommand{\mi}{\mathrm{i}}
\newcommand{\Det}{\mathrm{Det}}
\newcommand{\diff}{\mathrm{d}}

\renewcommand\refname{}

\begin{document}

\sffamily

\section*{\sffamily Curing basis-set convergence of wave-function theory using density-functional theory: a systematically improvable approach} 
We would like to thank the reviewers for their carefull reading of our manuscript, and we reply in the present document to their remarks and criticisms. 
\subsection*{Comments of reviewer 1 and reply}
\subsubsection*{Comments of reviewer 1}
The authors propose a method to account for short‐range electron correlation using DFT techniques. 
The idea makes sense. I have long been frustrated (and intrigued) by the fact that DFT handles short‐
range correlation effortlessly while wavefunction theory (WFT) requires a large basis set and a lot of 
computational work. The main problem of all combined WFT/DFT methods is double counting. The 
authors partially eliminate it by replacing the Coulomb operator with its long‐range component, tailored 
to the basis set (which can describe correlation only on the scale of the distance between the closest 
nodes and larger.) 
I have only a few comments.  
\begin{itemize}
 \item The method proposed is simpler than using explicit interelectronic (F12) coordinates. I wonder how 
much the latter cost computationally. The theory is certainly complicated and there are still a few loose 
ends in R12 or F12 theory but does it slow down the calculations significantly? The authors could add a 
comment on this. F12 has the advantage that it eliminates double counting rigorously but I am not sure 
how expensive it is. The method described in the paper is virtually free on the cost scale of a large 
correlated calculation but adds some of the disadvantages of DFT, mainly noise from numerical 
quadrature. 
\item Page 1, right column, bottom. The authors repeat the misleading claim that “DFT abandons the 
complex ... wavefunction for the simple one‐body density.” This is valid for orbital‐free DFT which is not 
yet working. It should be toned down. 
\item P. 3, above equ. (4) change “give” to “gives”. 
\item P. 4, right column, line 12 from below. The phrase “projected in a basis” is perhaps better if replaced 
by “projected to a basis”. 
\item I suspect that the CIPSI energy for N +  at the AQZ level in Table II (‐54.020414) has a problem. The 
energy difference between QMC and CIPSI is generally in the 5 th  digit, as pointed out in the paper. For 
this figure, the deviation is in the 3 rd  digit. Please check it again. 
\item I suggest that the authors switch to the IUPAC (and IUPAP) abbreviation for the atomic unit of energy, 
 E h  (and mE h ).  
\item In its current form, the method is only applicable to atoms, as the local range separation parameter 
depends on the distance from the nucleus. The authors should indicate how it could be generalized to 
molecules. 
\end{itemize}

\subsection*{Reply to reviewer 1}
 
\begin{itemize}
 \item[] "The main problem of all combined WFT/DFT methods is double counting. The
authors partially eliminate it by replacing the Coulomb operator with its long‐range component, tailored
to the basis set (which can describe correlation only on the scale of the distance between the closest
nodes and larger.)" \\
 In the case of standard range-separated DFT (RS-DFT), there is by construction no double counting of the electronic correlation effects as it relies on a clean splitting of the interaction, which is not the case for most of the combined WFT/DFT methods. The practical problems in RS-DFT are the approximated functionals or the ansatz used for the wave function part. Nevertheless, in the present work, as the effective interaction in the basis set is not perfectly represented by the fit that we proposed here (see equation (30) page 7), some double counting can still be present. 
 \item "The method proposed is simpler than using explicit interelectronic (F12) coordinates. I wonder how
much the latter cost computationally. The theory is certainly complicated and there are still a few loose
ends in R12 or F12 theory but does it slow down the calculations significantly? The authors could add a
comment on this. F12 has the advantage that it eliminates double counting rigorously but I am not sure
how expensive it is. The method described in the paper is virtually free on the cost scale of a large
correlated calculation but adds some of the disadvantages of DFT, mainly noise from numerical
quadrature.
" \\

 The authors are aware of several F12 theories but are not expert in that field, so we preferred not to comment too much on the computational cost of F12, specially on the latest developments. Regarding the avoidance of double counting, the reviewer could refer to the very recent study on the practical effect of the truncation of the one-particle basis set in approximated CCSD-F12 approaches:
M. K. Kesharwani, N Sylvetsky, A. K\"ohn, D. P. Tew, and J. M. L. Martin, Journal of Chemical Physics 149, 154109 (2018).
Nonetheless, even if our approach is conceptually simpler than F12 theory, as it is at its early stage of development, it is hard to compare the computational cost with F12 theories considering the amount of efforts involved in that field. 
\item "Page 1, right column, bottom. The authors repeat the misleading claim that “DFT abandons the 
complex ... wavefunction for the simple one‐body density.” This is valid for orbital‐free DFT which is not 
yet working. It should be toned down. "\\
 
From a purely formal point of view, we agree that only orbital-free DFT abandons the wave function, as the Kohn-Sham Slater determinant is still needed for the computation of the kinetic part in KS-DFT. 
Nonetheless, from a WFT perspective (which is the overall point of view of the paper), KS-DFT is drastically simpler than WFT as it does not rely on the accurate description of the complex and non local two-body density matrix. This is why we stated that "DFT abandons the complex ... wave function for the simple one-body density", and also the sentence in page 1 does not refer to a specific variant of DFT as it refers to the formal implication of the Hohenberg-Kohn theorem. 
\item "P. 3, above equ. (4) change “give” to “gives”." \\

The typo was corrected.
\item "P. 4, right column, line 12 from below. The phrase “projected in a basis” is perhaps better if replaced
by “projected to a basis”. \\

We thank the author for the stylistic proposal. After inquiry, we found that the most adequate sentence is "projected on" (which is equivalent to "projected onto") which was changed in the text. 
\item "I suspect that the CIPSI energy for N +  at the AQZ level in Table II (‐54.020414) has a problem. The
energy difference between QMC and CIPSI is generally in the 5 th  digit, as pointed out in the paper. For
this figure, the deviation is in the 3 rd  digit. Please check it again." \\

We also found strange the discrepancy between our CIPSI energy and the \textit{i}-FCIQMC result in the case of N$^+$ in the aug-cc-pVQZ basis set. Nonetheless, we double checked our result and pushed our calculations quite far (since $|E_{PT2}| < 0.1 mH$) and obtained essentially the same energy and a variational energy lower than the one in \textit{i}-FCIQMC. As a consequence, considering that the initiator approximation of FCIQMC necessary introduces a bias and that we obtained a lower variational energy than the \textit{i}-FCIQMC, we believe that the problem is on the side of \textit{i}-FCIQMC. 
\item "I suggest that the authors switch to the IUPAC (and IUPAP) abbreviation for the atomic unit of energy,
 E h  (and mE h )."\\

We believe that the present abbreviations for the atomic unit of the energies reported here do not introduce any inconvenience for the clarity of the exposition, therefore we keep the present abbreviations. 
\item "In its current form, the method is only applicable to atoms, as the local range separation parameter
depends on the distance from the nucleus. The authors should indicate how it could be generalized to
molecules." \\

I think that the reviewer 1 misunderstood some aspects of the procedure proposed here, as there are no restrictions in its mathematical formulation for the special cases of atomic systems. 
Indeed, the definition of the effective electron-electron interaction projected on a basis (see equations (21) to (27) page 5, or appendix A for a more detailed derivation) relies on an expectation value of the Coulomb interaction over a very general wave function which can represent an atom or a molecule. The derived effective interaction (see equation 27) is a general function from ${\rm I\!R}^{6}\rightarrow {\rm I\!R}$, which can be computed in any physical system.  
We chose to study atomic systems as these systems are basically free from static correlation effects, exhibit large basis set errors for the calculations of energy differences and are well understood from a physical point of view (which enable us for instance the detailed analysis of the last section). Incoming works will assess the validity of this approach on molecular systems. 

\end{itemize}


\subsection*{Comments of reviewer 2 and reply}
\subsubsection*{Comments of reviewer 2}
Reviewer 2 Evaluations:\\
Recommendation: Optional revision\\
New Potential Energy Surface: No\\

Reviewer 2 (Comments to the Author):\\

In the present manuscript by Giner et al. the authors present a novel method to correct for basis set incompleteness errors in Full CI (FCI) calculations. Their method is based on the local mapping of an effective (basis set dependent) electron-electron interaction to a range separation (RS) parameter as used in RS density functionals. By combining the proposed local mapping and the derived formalism it is possible to introduce a perturbative basis set correction for FCI calculations. The obtained results for spherical systems demonstrate convincingly that their novel method achieves a rapid basis set convergence.
The manuscript is very well written and the work is of great interest to the electronic structure theory community. I recommend publication of the manuscript.

I only have a few optional suggestions and questions:
\begin{itemize}
\item The present work does not draw any comparison to F12-like approaches in the results section. I suggest for this or future studies to compare results obtained using the present approach to results obtained using FCI + [2]R12 (as proposed by Kong and Valeev [J. Chem. Phys. 135, 214105 (2011)]), or FCI + CT (as proposed in Yanai and Shiozaki [J. Chem. Phys. 136, 084107 (2012)]). It seems that the present approach is computationally simpler and more efficient than F12-like approaches (please correct me if I'm wrong). Therefore it would be interesting to compare these approaches to each other in terms of accuracy.

\item The authors have investigated atoms only. Can the present approach be directly transferred to non-spherical systems, or do the authors expect difficulties? Presenting results for binding curves would be desirable for this or future studies.

\item Typo:\\
p.5 : "which means that its does not..." -> "which means that it does not..." 
\end{itemize}


\subsection*{Reply to reviewer 2}
\begin{itemize}
\item "The present work does not draw any comparison to F12-like approaches in the results section. I suggest for this or future studies to compare results obtained using the present approach to results obtained using FCI + [2]R12 (as proposed by Kong and Valeev [J. Chem. Phys. 135, 214105 (2011)]), or FCI + CT (as proposed in Yanai and Shiozaki [J. Chem. Phys. 136, 084107 (2012)]). It seems that the present approach is computationally simpler and more efficient than F12-like approaches (please correct me if I'm wrong). Therefore it would be interesting to compare these approaches to each other in terms of accuracy." \\

We completely agree with the reviewer 2 that our approach is directly comparable to those proposed by Kong and Valeev, as both approaches can be seen as a post-WFT calculation which aims to account for the incompleteness of the basis set used in quantum chemistry. More generally, we indeed plan to perform a comparative study with F12 approaches which will help us to better understand the strengths and limitations of our new approach. \\
Regarding the method proposed by Yanai and Shiozaki, it is, to our understanding, not straightforwardly comparable to the present work as it deals with a two-body Hamiltonian which is modified by the presence of Slater-geminals. Therefore, it introduces a coupling between the correlation effects in the basis set (at whatever level of treatment selected) and those introduced by the explicit correlation factor. It is then more of a "perturb then diagonalize" approach, whether our approach if closer to a "diagonalize then perturb", as the one of Kong and Valeev. Current developments will try to make the procedure self consistent by carrying the minimization over all possible densities instead of doing the approximation of the FCI density as it is done here (see equation (14)).  

\item "The authors have investigated atoms only. Can the present approach be directly transferred to non-spherical systems, or do the authors expect difficulties? Presenting results for binding curves would be desirable for this or future studies." \\

As mentioned to reviewer 1, we investigated atomic systems only in order to focus our attention on the slow convergence of the dynamical correlation with the basis set (no static correlation involved). Also, these systems are quite well understood and the spherical symmetry has allowed us to perform a simple physical analysis of the behavior of our approach (the last section of the paper). 
Of course, the approach can be transferred to non-spherical systems since the effective interaction is derived from the expectation value of the Coulomb interaction on a general wave function which can represent molecular systems, and since the functionals used in RS-DFT are perfectly suited for the treatment of molecules. We have already performed calculations on homo- and hetero-nuclear molecules (atomization energies of the G2 sets of molecules) and the presentation and analysis of the results will be the subject of a forthcoming paper. 
\item Typo:\\
p.5 : "which means that its does not..." -> "which means that it does not..." \\

The typo was fixed. 
\end{itemize}

\end{document}
