Non-Markovianity and memory enhancement in Quantum Reservoir Computing Antonio Sannia, Ricard Ravell Rodríguez, Gian Luca Giorgi, Roberta Zambrini Abstract Featuring memory of past inputs is a fundamental requirement for machine learning models processing time-dependent data. In quantum reservoir computing, all architectures proposed so far rely on Markovian dynamics, which, as we prove, inherently lead to an exponential decay of past information, thereby limiting long-term memory capabilities. We demonstrate that non-Markovian dynamics can overcome this limitation, enabling extended memory retention. By analytically deriving memory bounds and supporting our findings with numerical simulations, we show that non-Markovian reservoirs can outperform their Markovian counterparts, particularly in tasks that require a coexistence of short- and long-term correlations. We introduce an embedding approach that allows a controlled transition from Markovian to non-Markovian evolution, providing a path for practical implementations. Our results establish quantum non-Markovianity as a key resource for enhancing memory in quantum machine learning architectures, with broad implications in quantum neural networks. I Introduction Within the field of machine learning, there is growing interest in neural networks capable of processing time-dependent data presenting long-range correlations [ 42 ] . Architectures such as long short-term memory [ 33 ] and transformers [ 64 ] are currently producing outstanding results in time series forecasting and language processing. However, the high energy cost of these deep learning models is a significant limiting factor for their scalability [ 20 , 59 , 2 , 54 ] . As a promising alternative, analog implementations of machine learning models offer a potential solution to this challenge [ 47 , 68 , 35 ] . In this context, Reservoir Computing [ 51 , 40 ] has attracted significant attention due to its versatility in handling both static and temporal tasks, its training efficiency (requiring only linear regression), and its adaptability to diverse physical platforms without the need for fine-tuning of experimental parameters [ 17 ] . Among the various proposals [ 40 ] , quantum systems allow the exploration of unique possibilities such as having an exponential number of degrees of freedom and direct embedding of quantum inputs without the need for tomography [ 26 , 50 ] . Several works have been done to connect the performances of quantum reservoir computing (QRC) to physical properties such as dynamical phase transitions [ 48 , 39 ] , quantum dissipation [ 61 , 32 , 13 ] , quantum chaos [ 45 ] , squeezing [ 27 ] , topological effects [ 60 ] , entanglement [ 31 ] , quantum back-action [ 49 , 25 ] and quantum coherences [ 53 ] . One of the key features of QRC is the presence of an internal memory, which enables the processing of temporal information, a critical capability for tasks such as time series analysis and forecasting [ 50 ] . The specific memory featured by the reservoir in its dynamics is therefore a fundamental resource for QRC, and a complete characterization of it is still missing. In the following, we address this fundamental question by showing that all reservoir models proposed so far, relying on a Markovian evolution, inevitably erase information about past inputs at an exponential rate. In fact, while Markovian reservoir models enable the inference of unlimited data streams and allow for memory adjustment [ 61 , 34 ] , their exponential memory decay fundamentally restricts their applicability. Importantly, we identify quantum non-Markovianity as the key mechanism to overcome this limitation, opening the possibility of studying problems where longer memory is needed. Quantum non-Markovianity refers to the phenomenon in which the evolution of an open quantum system shows significant memory effects, so that its future behavior depends not only on its current state but also on its past history [ 6 , 57 , 19 , 16 , 44 ] . This can lead to revivals of coherence, entanglement, and other quantum properties that would otherwise decay [ 7 , 69 , 66 , 9 ] . The mathematical characterization of various aspects of non-Markovianity has been an active area of research in recent years, and its role as a resource in quantum technologies has been shown to be highly context-dependent. It has been shown to be beneficial in quantum metrology [ 15 ] , control [ 55 ] , teleportation [ 41 ] , information processing [ 10 ] , computing [ 21 ] , and entanglement generation [ 63 ] . However, it can also be detrimental in certain scenarios, such as inhibiting the emergence of synchronization [ 38 ] and negatively impacting specific classes of quantum algorithms [ 58 ] . In this work, we demonstrate how non-Markovianity can enhance memory and, consequently, the performance of QRC. Specifically, we provide theoretical justifications and support our claims with both analytical and numerical results. Additionally, we propose potential implementations where non-Markovianity can be introduced and controlled through an embedding method [ 19 ] . This newly introduced framework exploits a physical memory effect intrinsic to open quantum systems, a resource that has remained unexploited in previous reservoir computing architectures. By harnessing the information backflow that characterizes non-Markovian dynamics, our approach enables the reservoir to retain correlations with past inputs over extended timescales, overcoming the fundamental exponential memory decay inherent to Markovian quantum reservoirs. We demonstrate this advantage through two complementary implementations: first, an analytically tractable Quantum Residual Reservoir model that exhibits controlled memory revivals at prescribed delays (Sect. III ), and second, an experimentally realizable embedded non-Markovian reservoir where tunable depolarizing channels allow seamless interpolation between Markovian and non-Markovian regimes (Sect. IV ). Figure 1: Scheme of a reservoir evolution (a). In the Markovian case (b), the reservoir state updating rule depends solely on the injected input, whereas in the non-Markovian one (c), past states also play a role. II Memory bounds of Markovian reservoirs The Gorini-Kossakowski-Sudarshan-Lindblad (GKLS) Master Equation [ 30 , 43 ] \frac{d\rho}{dt}=\mathcal{L}[\rho]=-i[H,\rho]+\sum_{i}\gamma_{i}\left(L_{i}\rho L_{i}^{\dagger}-\frac{1}{2}\{L_{i}^{\dagger}L_{i},\rho\}\right), is known to describe the Markovian evolution of an open system with Hamiltonian H , where \{L_{i}\} are the jump operators describing the interaction with the external environment, and \{\gamma_{i}\} are the decay rates. In QRC, the reservoir (an open quantum system) is driven by an input sequence, while a set of measured observables form the output, in a three-layer configuration (see [ 1 , 50 ] ). Given time series of input vectors \{\dots,\vec{s}_{k-1},\vec{s}_{k},\vec{s}_{k+1},\dots\} , where k iterates over the time-steps, a Markovian quantum reservoir state evolves according to the rule: \rho_{k+1}=e^{\mathcal{L}(\vec{s}_{k+1})\Delta t}\rho_{k} (1) where \mathcal{L}(\vec{s}_{k+1}) is a parametric Liouvillian that defines the particular reservoir model and \Delta t is the evolution time, which can be considered as a model hyperparameter (see Fig. 1 (b)). After each input injection, the reservoir response is optimized for the target task, with a simple linear regression of observable expectation values. In particular, considering a set of observables \{\mathcal{O}_{i}\} , the reservoir output y_{k} is given by the expression: y_{k}=\omega_{0}+\sum_{i}\omega_{i}\Tr{\rho_k \mathcal{O}_i}, (2) where the coefficients \omega_{i} are optimized, in a supervised way, depending on the problem of interest [ 17 ] . For the proper operation of a reservoir computing model, different properties need to be satisfied, such as the echo state property [ 70 ] . This means that the reservoir will produce the same outcome independently of the initial state if the same input series is injected. The echo state property holds for any input sequence if the stationary state \mathcal{L}(\vec{s}_{k}) is unique for every input \vec{s}_{k} [ 61 ] . The converse implication is straightforward to verify. In the following, we will restrict to Liouvilians satisfying this condition. Moreover, if \mathcal{L}(\vec{s}_{k}) is a continuous function of \vec{s}_{k} , then the reservoir state will depend only on the recent input history, satisfying the so-called fading memory [ 61 ] . Under the fading memory property, each output y_{k} can be considered a time-invariant function and, consequently, can be expanded according to a Volterra series [ 5 ] . In our notation, the Volterra expansion takes the following form: \displaystyle y_{k}=\sum_{n=1}^{\infty}\prod_{\tau_{1}=0}^{\infty}\prod_{\tau_{2}=\tau_{1}}^{\infty}\cdots\prod_{\tau_{n}=\tau_{n-1}}^{\infty}\mathcal{P}_{1}(\vec{s}_{k-\tau_{1}})\dots\mathcal{P}_{n}(\vec{s}_{k-\tau_{n}}) \displaystyle=\sum_{n=1}^{\infty}f_{n}(\vec{s}_{k-\tau_{1}},\dots,\vec{s}_{k-\tau_{n}}) (3) where \mathcal{P}_{i}(\vec{s}_{k-\tau_{i}}) are polynomials of degree one with respect to the \vec{s}_{k-\tau_{i}} entries, and f_{n} are functionals that group all the monomials in the series that have input dependence up to a delay \tau_{n} . Given a Markovian QRC with reservoir dynamics governed by Eq. ( 1 ), we show in the Supplemental material (see Ref. [ 1 ] ) that for each element of the output Volterra expansion |f_{n}(\vec{s}_{k-\tau_{1}},\dots,\vec{s}_{k-\tau_{n}})|=\mathcal{O}(e^{-a\tau_{n}}), (4) where a is a positive constant that depends on the particular reservoir model. Importantly, Eq. ( 4 ) implies fundamental bounds on the reservoir memory. Considering a T steps evolution, we quantify the reservoir’s ability to reproduce past input functionals with the capacity introduced in Ref. [ 18 ] : C[\hat{y}]=1-\min_{\{\omega_{i}\}}\frac{\textit{MSE}_{T}[\hat{y}]}{\langle y^{2}\rangle_{T}}, (5) where \{\hat{y}_{k}\}_{k=1}^{T} is the target series; MSE indicates the mean square error: \textit{MSE}_{T}=\sum_{k=1}^{T}(\hat{y}_{k}-y_{k})^{2}/T (depending on the weights in Eq. ( 2 )); and \langle y^{2}\rangle_{T}=\sum_{k=1}^{T}y_{k}^{2}/T . Among the properties of the capacity [ 18 ] , we recall that 0\leq C\leq 1 , where the extreme cases C=0 and C=1 correspond to a complete mismatch between the target and predictions, and to a perfect agreement, respectively. Combining now Eqs. ( 4 ) and ( 5 ), and considering a target \hat{y}(\tau) that is a function only of past inputs delayed by a certain \tau (e.g. \hat{y}_{k}(\tau)=\vec{s}_{k-\tau}^{\,2} ) we find the following capacity scaling: C[\hat{y}(\tau)]=\mathcal{O}(e^{-a\tau}). (6) The interpretation of Eq. ( 6 ) is that a Markovian reservoir tends to exponentially erase information of past inputs over time. This conclusion can be directly generalized in the case in which the inputs, instead of being vectors of classical parameters, are quantum states, making the presented considerations valid even for quantum tasks. As we will show below, for some kinds of tasks, a longer memory is required, and the introduction of quantum non-Markovianity is necessary for overcoming this exponential decay. In particular, we introduce a more general class of quantum reservoir computers whose updating rule is \rho_{k+1}=\Phi(\vec{s}_{k+1},\rho_{k-1},\cdots)\rho_{k}, (7) where \Phi is a super-operator corresponding to a non-Markovian physical process in which an external environment has a memory of the previous reservoir states (see Fig. 1 (c)). In general, the resulting family of dynamical maps is not CP-divisible across the discrete algorithmic time steps, since \Phi cannot be defined independently of earlier reservoir states. Figure 2: Quantum Residual Reservoir performance analysis. (a) Capacity for the short-term memory task, as a function of the delay \tau . (b) Capacity of reproducing the monomial s_{k}s_{k-10} , varying \lambda in steps of 0.1 . All the capacity values have been averaged over 100 random realizations of reservoir initial states, Hamiltonian couplings, and input sequences [ 1 ] . The hyperparameters have been fixed to be N=3 , \Delta t=10 , h=1 and \gamma=0.1 . III Quantum Residual Reservoir We now give an illustrative example of a non-Markovian process that allows us to overcome the exponential scaling previously found. For generic Markovian reservoir, defined from a Liouvillian \mathcal{L}(\vec{s}_{k}) , we can always define a fading memory time scale \tau_{FM} such that all the delayed inputs \vec{s}_{k-\tau} , with \tau>\tau_{FM} , are practically irretrievable from the reservoir state \rho_{k} [ 61 , 49 ] . Let us consider instead the following non-Markovian QRC evolution: \rho_{k+1}=e^{\mathcal{L}(\vec{s}_{k+1})\Delta t}[\lambda\rho_{k}+(1-\lambda)\rho_{k-\tau_{E}}], (8) where \lambda is a model hyperparameter that takes values in the interval [0,1) , and \tau_{E} is the non-Markovian environment time scale, which we consider to be larger than \tau_{FM} . Interestingly, Eq. ( 8 ) represents a quantum counterpart of the recently introduced Residual reservoir computers [ 11 ] , making use of dilated skip connections [ 12 ] . For this non-Markovian case, it is now immediate to see that the state \rho_{k} is statistically correlated with the past inputs following an exponential decay trend, inside the fading memory window of \mathcal{L}(\vec{s_{k}}) , meanwhile, for inputs delayed from a factor at least equal to \tau_{E} , we find an information retrieval that overcomes the fading memory time. Importantly, the parameter \lambda governs the interplay between these competing behaviors –the Markovian loss of input information and the non-Markovian revival–with its optimal value being task-dependent. To numerically verify the memory properties of this Quantum Residual Reservoir, we start from the Markovian model introduced in Ref. [ 61 ] . Specifically, considering the input sequence to be composed of scalar values s_{k}=[0,1] , the parametric Liouvillian will act according to the equation \mathcal{L}(s_{k})[\rho]=-i[H(s_{k}),\rho]+\mathcal{D}_{L}[\rho], (9) where H(s_{k}) is an input-dependent Hamiltonian that reads H=\sum_{i3 practically irretrievable. Moreover, as expected in the non-Markovian cases ( \lambda=0.5 and \lambda=0.1 ), we observed a capacity revival at \tau=\tau_{E} , whose magnitude increases as \lambda decreases. This memory revival, observed exclusively in non-Markovian dynamics, can be crucial for solving certain tasks. For instance, Fig. 2 (b) illustrates that the Quantum Residual Reservoir’s capacity for the target \hat{y}_{k}=s_{k}s_{k-10} tends to decrease with \lambda [ 1 ] . This behavior suggests that the task requires the reservoir to retain both recent inputs ( s_{k} ) and long-delayed ones ( s_{k-10} ). Achieving this dual time-scale memory is only possible by introducing non-Markovianity. While in this synthetic QRC design, the performance in the chosen non-linear memory task is monotonically related to the revival strength, in general, the form of dissipation and non-Markovianity cannot be isolated, and moreover different memory forms are required in different tasks. Therefore, the enhancing effect of non-Markovianity will depend on the QRC task. IV Embedded Non-Markovian reservoir Figure 3: Schematic representation of the main steps in the evolution rule of the embedded non-Markovian model presented in the main text: (1) Input is injected through Hamiltonian driving in the Lindbladian; (2) interaction with auxiliary qubits occurs via partial swaps; (3) depolarizing channels act on the auxiliary qubits to tune the degree of non-Markovianity. Non-Markovian dynamics of open quantum systems can be obtained from a Markovian evolution in a larger space, tracing out some degrees of freedoms [ 19 , 4 , 36 , 29 , 28 , 8 , 3 , 22 ] . We will follow this approach, known as embedding method [ 19 ] , for assessing the memory and forecasting of QRC tuned from a Markovian to non-Markovian operation. We consider as a reservoir the open quantum system model of Ref. [ 56 ] , whose evolution rule can be factorized in the following form: \rho_{k+1}=\Lambda\circ e^{\mathcal{L}(s_{k})\Delta t}[\rho_{k}], where \mathcal{L}(s_{k}) is the same Liouvillian of Eq. ( 9 ) and \Lambda is a non-Markovian channel that involves the presence of auxiliary qubits. In particular, given the quantum reservoir in Eq. ( 10 ), we couple each of the N qubits to an auxiliary one to implement the \Lambda action (see Figure 3 for a schematic summary of the model) . First of all, at each time step k , every auxiliary–reservoir qubit pair interacts with a partial Swap operation \hat{P}_{i}(\eta)=\cos(\eta)\mathbb{I}+i\sin(\eta)\hat{\mathcal{S}}_{i} where i is an index ranging from 1 to N ; \mathbb{I} represents the identity operator over the entire space generated by the 2N qubits; \hat{\mathcal{S}}_{i} denotes the Swap operator acting on the i th qubits of the reservoir and the auxiliary system; and \eta is a hyperparameter in the set [0,\pi/2) , interpreted as the interaction strength between the system and the auxiliary qubits. After the application of all the partial Swaps, a set of depolarizing channels acts on the auxiliary system: \Delta_{\Omega}^{i}[\rho]=\sum_{m=0}^{3}\hat{K}_{i}^{m}\rho\hat{K}_{i}^{m\dagger}, where \hat{K}_{i}^{m} are the Kraus operators acting on the i -th auxiliary qubit: \hat{K}_{i}^{0}\coloneqq\sqrt{1-3\Omega/4}\,\mathbb{I}_{i} , \hat{K}_{i}^{1}\coloneqq\sqrt{\Omega/4}\,\sigma^{x}_{i} , \hat{K}_{i}^{2}\coloneqq\sqrt{\Omega/4}\,\sigma^{y}_{i} , \hat{K}_{i}^{3}\coloneqq\sqrt{\Omega/4}\,\sigma^{z}_{i} , and 0\leq\Omega\leq 1 . Importantly, \Omega represents the strength of the depolarizing channels and allows tuning the non-Markovianity level. In particular, in the case of \Omega=1 , the reservoir dynamics is fully Markovian because the auxiliary system, at each time step, will be prepared to a fully mixed state, having no memory of past reservoir states. On the other hand, as shown in Ref. [ 56 ] , it is expected that decreasing the \Omega value corresponds to an increase of non-Markovianity, up to the maximum case for \Omega=0 , where the partial Swap is applied with auxiliary qubits in the state of the previous step leading to the maximum back-flow of memory in the system. In the supplementary material, we show a numerical verification of this behavior [ 1 ] . Figure 4: Reservoir predictions of the Mackey-Glass time-series during a test phase of 150 points. The black lines correspond to the numerical solutions of the Mackey-Glass equation, while the blue lines are the average of predictions over 100 random realizations of reservoir initial states and Hamiltonian couplings [ 1 ] . The blue shadow regions are the statistical errors, chosen as one standard deviation. Different \Omega values have been considered for changing the non-Markovianity amount: (a) \Omega=1 , (b) \Omega=0.5 , (c) \Omega=0 . The other hyperparameters have been fixed to the following values: h=1 , dt=0.5 , \gamma=0.1 , \eta=\pi/4 , and 2N=8 . The performances have been quantified through the average mean square error between the numerical solution of the Mackey-Glass equation and the reservoir predictions, taking 150 points in the test phase. The values found, in descending order with respect to \Omega , are respectively 1.8\cdot 10^{-2} , 6.8\cdot 10^{-3} , and 2\cdot 10^{-2} . Turning now to QRC tasks, we examine how non-Markovianity influences the reservoir capabilities of chaotic time series forecasting. Specifically, we focus on the widely studied Mackey-Glass (MG) series [ 46 ] , where the target values satisfy the delayed differential equation: \dot{s}(t)=-0.1s(t)+\frac{0.2s(t-\tau)}{1+s(t-\tau)^{10}}, (11) and we set \tau=17 to ensure a chaotic regime [ 23 , 37 ] . During the training phase, we fed the system with the numerical solution of Eq. ( 11 ), solved with a time resolution of t_{r}=3 (see Ref. [ 52 ] for details), with input values rescaled to the interval [0,1] . The output coefficients are trained to perform a one-step-ahead prediction task, \hat{y}_{k}=s_{k+1} [ 1 ] , using measured observables that correspond to Pauli strings of length one ( \sigma_{i}^{a} ) and two ( \sigma^{a}_{i}\sigma^{b}_{j} ), where a,b\in\{x,y,z\} and 1\leq i,j\leq N with i\neq j . Finally, during the evaluation phase, the system evolved autonomously, using its previous output as the current input at each time step. Figure 5: Capacity of the short-term memory task as a function of the delay \tau , considering different \Omega values. The shadow regions cover one standard deviation calculated randomly varying the Hamiltonian, the initial reservoir state, and the injected sequence. According to the main text, the other hyperparameters have been fixed to: h=1 , dt=0.5 , \gamma=0.1 , \eta=\pi/4 and 2N=8 . In Fig. 4 , we present the reservoir predictions during the test phase for different values of \Omega . The results clearly indicate that the best forecast occurs in the non-Markovian regime with \Omega=0.5 , outperforming the fully Markovian one obtained for \Omega=1 . Moreover, as expected, the degree of non-Markovianity in the updating rule must be tuned to achieve an advantage. Notably, when \Omega=0 , corresponding to the maximum amount of non-Markovianity, the reservoir’s forecasting ability deteriorates. An explanation of this behavior can be obtained by evaluating the short-term memory task for the embedded model. From Fig. 5 , we observe that the Markovian case ( \Omega=1 ) leads to a monotonic capacity decay, in agreement with our theoretical results. In contrast, the non-Markovian regimes ( \Omega=0 , \Omega=0.5 ) exhibit memory revivals. Notably, in the extreme non-Markovian limit ( \Omega=0 ), although revivals are present, the reservoir displays only weak correlations with past inputs overall. This indicates that memory contributions become broadly distributed but individually small, which ultimately deteriorates performance in demanding tasks such as Mackey-Glass time-series prediction. As anticipated, the potential performance gains from introducing non-Markovianity depend on the specific task at hand. Looking instead at a different forecasting task, non-Markovianity does not yield any improvement for the Santa Fe laser task [ 67 ] (see supplementary material [ 1 ] ). One possible explanation is that, in this task, the system is not intended to evolve autonomously, as in the Mackey-Glass task, as the reservoir is continuously driven by the true series values, potentially making the prediction problem inherently easier. Moreover, the proposed non-Markovian embedding is not limited to the specific interaction considered here (the partial Swap unitary) or to the use of depolarizing channels. Alternative realizations can be constructed using experimentally accessible quantum gates, for example entangling operations [ 34 , 62 , 14 ] , or by adopting other physically relevant noise models such as amplitude damping [ 61 , 65 ] . Importantly, the mechanism does not rely on fine tuning of a particular gate parameter: the advantage arises from the presence of a structured information exchange between the reservoir and the auxiliary degrees of freedom. Moderate imperfections in the implemented interactions, like for example errors in the partial swaps angles, are therefore not expected to qualitatively suppress the effect. The size and structure of the auxiliary environment can be adjusted independently of the reservoir qubits, enabling the design of multiple time scales and memory effects. In addition, the auxiliary qubits are never measured, so the measurement overhead remains the same as in a standard N -qubit reservoir. This embedded strategy differs fundamentally from simply increasing the size of a purely Markovian reservoir. Although enlarging a Markovian reservoir can extend memory, it does not alter the characteristic exponential decay of Markovian dynamics. In contrast, our embedding introduces controlled information backflow and modifies temporal correlations. For tasks that require correlations across multiple time scales, this change in the dynamics can be more beneficial than a mere increase in system size. Finally, the proposed framework is not limited to the specific mechanisms introduced here. Any intrinsic non-Markovianity present in a given quantum platform can serve as an additional resource to enhance memory retention. This versatility makes our approach widely applicable across different physical implementations, from superconducting circuits to trapped ions and photonic systems, and readily adaptable to the memory requirements of diverse temporal tasks. V Conclusions We have established fundamental limitations on memory capacity in Markovian QRC and demonstrated how non-Markovianity can enhance memory retention. Our results show that Markovian reservoirs inevitably experience an exponential decay of past memory, restricting their information capacity for long-term dependencies. By incorporating non-Markovian dynamics in an illustrative example, we have demonstrated an extension of the reservoir’s memory through a revival mechanism and the enhancing effect in a non-linear memory task requiring long-range correlations. While in this case the performance improvement is monotonous in the revival strength, this is not the common situation. With an embedding approach enabling the controlled introduction of non-Markovianity in QRC, we showed that non-Markovian reservoirs can outperform their Markovian counterparts in chaotic time series forecasting, illustrating the practical benefits of memory effects in quantum machine learning. Our results establish non-Markovianity as a resource for QRC, with broader implications in quantum information processing. Crucially, the memory enhancement demonstrated here is not achieved through classical means such as network enlargement or delayed feedback, but through a physical mechanism intrinsic to open quantum dynamics, underscoring the unique computational advantage offered by non-Markovian quantum systems. An open, challenging question is to establish a comprehensive theoretical framework in QRC to relate reservoirs’ memory and non-Markovianity to their performance on different temporal tasks. Author Contributions A.S. performed the analytical calculations. A.S. and R.R.R. carried out the numerical calculations. A.S., R.R.R., G.L.G. and R.Z. analysed the results. A.S., R.R.R., G.L.G. and R.Z. wrote the manuscript. Corresponding Author Correspondence to Antonio Sannia. Competing interest The authors declare no competing interests. Funding Spanish State Research Agency: A.S, R.R.R., G.L.G. and R.Z. Spanish Ministry of Economic Affairs and Digital Transformation: A.S, R.R.R., G.L.G. and R.Z. Consejo Superior de Investigaciones Científicas: A.S, R.R.R., G.L.G. and R.Z. ”La Caixa” Foundation: A.S. .