Introduction

Quantum thermodynamics is an emerging field1,2, which combines the principles of two different and very successful fields of physics. Namely, quantum mechanics and thermodynamics. From the side of quantum mechanics, it involves quantum superposition and, therefore, quantum coherence. On the other hand, from thermodynamics, it keeps the main interest in energy and methods on how to transform it. Therefore, a preferred representation in quantum thermodynamics is the energy basis. The latter makes it conceptually different from quantum information, which is basis independent. Already in the simplest two-level system (TLS), energy difference and quantum coherence are represented by non-commuting operators. Their values cannot be simultaneously arbitrarily high for a single system, and also their uncertainties are limited by fundamental commutation relations. Recent research interest is focused on various devices, operating on a quantum scale, e.g., quantum batteries3,4,5,6, quantum heat engines7 or refrigerators1,8, and energy extractability from these devices9.

Our main focus is on systems with coherent energy, i.e., systems which can appear in a superposition of energy eigenstates being the basic resource of modern quantum physics and, therefore, the viable field of research10,11,12. Such superposition in quantum systems, like atoms and solid-state objects, can be induced by strong coherent force represented, for example, by electric and magnetic fields or maser/laser radiation. On the other hand, it has been recently proposed that a residual steady-state coherent energy (energy of the superposition of energy eigenstates) can be autonomously harnessed by elementary TLS from a sufficiently cold environment13. Stimulated by these results, we consider such an environmentally-induced coherence as a resource to be synthesized. Therefore, we aim here for synthesizing a certain number N of uncorrelated two-level systems into the higher-dimensional coherent quantum battery. The battery is usually defined as a physical system able to harness the energy from its surroundings4, to store it in some appropriate form and, eventually, to release the energy to the surroundings again, usually referred to as the charging, storing and discharging processes, respectively. Recent literature describes the manipulation of quantum systems, frequently non-interacting TLSs14, or interacting chains of TLSs15, to investigate the effects of the quantum properties (namely entanglement and correlations) of the battery states on the speed of charging and the energy extractability. While the majority of works aim for incoherent charging and discharging (regardless of the resulting coherence of the final state)4,6,15, some recent papers16 follow the goal of coherent charging of the battery, meaning to create the final battery state in a superposition of battery energy eigenstates. All these approaches do use some CPTP (completely positive trace-preserving) transformations for the charging protocol, thus are inherently deterministic.

In the context of quantum thermodynamics there are many positive effects predicted, using coherence as a resource, especially the coherence between non-degenerate energy eigenstates. These could be extracting larger average amount of energy from a quantum system2,17, increasing the potential usefulness of the thermal reservoirs18,19 or increase in the power output of thermal machines20,21, supported by an experimental demonstration22.

To synthesize a higher dimensional quantum coherent battery from the independent TLSs, Maxwell’s demon principle can be advantageously used. It is a conditional procedure based on the measurement of a system23. For increasing the energy only, it would be sufficient to measure TLSs individually in the energy representation and keep only excited systems in a battery, whereas the de-excited systems will be brought once more into interaction with a thermal bath and reused until all of them have maximal energy (the so-called repeat-until-success strategy). Efficient energy measurement is, therefore, a thermodynamic resource7,8,24,25,26,27,28,29. However, for keeping coherence, the energy measurement is counterproductive since it causes loss of all system coherence. Therefore, to synthesize two-level systems with a partial coherence into a large coherent system requires a different measurement strategy. However, we still demand it to use only measurement elements diagonal in the TLS energy basis. This fact ensures that the measurement does not directly project on a superposition of energy eigenstates and that it is not a source of energy on its own30,31.

In this paper, we propose such strategy which is coherently synthesizing excited two-level systems to a larger coherent system with the possibility to enhance both energy and coherence on two and more TLS by the collective quantum measurement with elements diagonal in the energy basis. Such synthesizing unifies the battery build-up and charging process. As we find out the outcome of the measurement, we acquire information about the battery state and, based on it, we decide on the next step of the protocol, see Fig. 1a. If the TLSs did not synthesize as required, we let them interact with the thermal bath surrounding again to provide once more residual coherent energy, and repeat it until the success. In this way, we can asymptotically approach deterministic charging at a cost of the number of TLS interacting with the bath.

Figure 1
figure 1

(a) Schematics showing the idea of the 2-TLS (two-level systems) battery charging process in three steps and (inset) the total probability of failure \({p}_{f}^{(R)}\) after R unsuccessful repetitions. In the initial step 1) the pair of TLS leaves the cold coherence inducing bath13 and enters the process, assumed to be almost discharged with low initial energy E0 and coherence C0 (red loops connecting the levels). Such bath enables, due to the structure13 of the system-bath interaction Hamiltonian, the formation of coherence in energy basis of a generic two-level system, independently of its initial state. Step 2) represents the conditional stage of the charging operation. If the outcome of this step is successful (see step 3) with the single run probability of success ps, the battery is made more coherent and simultaneously charged, i.e., has higher energy \({E}_{f} > {E}_{0}\) and increased coherence \({C}_{f} > {C}_{0}\) as well, both with respect to the eigenbasis of Hamiltonian (2). If the charging fails, with the single run probability \({p}_{f}=(1-{p}_{s})\) in step 2), the battery is completely discharged and incoherent. In principle it can be recycled by bringing it in contact with the cold coherence-inducing bath13 again and the protocol is repeated until success (RUS). If the charging does not successfully occur in R recycling runs, the total probability of failure, \({p}_{f}^{(R)}={(1-{p}_{s})}^{R}\), is exponentially converging to zero with the number of repetitions, see the inset for a typical behavior. (b) Parametric 3D plot of the relative entropy of coherence difference ΔC, Eq. (6), on x-axis, the normalized average energy difference ΔE/E, Eq. (5), on z-axis and single run probability of success ps on y-axis. It demonstrates the basic step in the presented protocol (a): increase in the energy and coherence of the battery (after the charging process) with sufficient probability of success.

Our main result shows the possibility of elementary coherent energy synthesizing, i.e., the increase of both the initial energy and coherence32 (both small but nonzero) employing quantum measurement on the system. This result is quantitatively presented in Fig. 1b. Such energy and coherence increasing measurement can be extended and optimized further, as we subsequently propose, to reach maximal coherent energy of the battery. Although this charging stage is, in a single protocol run, conditional with a limited probability of success ps, it can be repeated until it succeeds and TLS are synthesized and coherently charged with the overall success probability arbitrarily close to one. Our work represents a bottom-to-top approach and analyzes only the basic recycling strategy. We generalize the protocol to higher number N of TLS, although sticking with the general idea of global measurement on these copies, and open the road for future numerical optimization in this direction, as well. Top-to-bottom numerical approach based purely on numerical optimization requires the insight presented here anyway.

As our focus is on coherent energy synthesis, we consider all other incoherent energy operations, e.g., energy increase without coherence change, to be without any cost. The information, obtained in our measurement-based protocol, is physical, thus the measurement result has to be stored in some classical physical register (memory) which, after its filling, has to be refreshed with nonzero incoherent energy cost, dictated by Landauer’s principle29. We do not explicitly consider such necessary incoherent energy resources in this paper, as at this stage we are primarily interested in the effect of coherent energy synthesis, and not so much in classical and incoherent resources allowing its functionality.

Coherently Charging a Pair of Two-Level Systems

In the following subsection, we describe the system and the variables of interest. The next subsections introduce the main idea of the paper, i.e., the conditional charging procedure applied to a pair of TLS in pure initial states, showing also which projective measurement is optimal concerning our goal. The following subsection generalizes the results for two classes of partially coherent states, namely, for partially mixed states due to dephasing and spontaneous emission of energy from TLS.

Energy and Coherence

As the system, we consider two independent copies of two-level systems (TLS), denoted 1 and 2, with a non-zero energy gap E between the states. The preferred basis of the pair of TLSs, which we will uniquely refer to throughout the paper, will be given by the TLS energy eigenstates labeling the ground and excited state, respectively, \(\{|{g}_{j}\rangle ,|{e}_{j}\rangle \}\), for both subsystems \(j=1,2\). The Hamiltonians defining these states read

$${\hat{H}}_{j}=\frac{E}{2}(|{e}_{j}\rangle \langle {e}_{j}|-|{g}_{j}\rangle \langle {g}_{j}|),\,j=1,2,$$
(1)

where E is the energy gap of each TLS, yielding the Hamiltonian of the total system

$$\hat{H}={\hat{H}}_{1}\otimes {\hat{1}}_{2}+{\hat{1}}_{1}\otimes {\hat{H}}_{2}.$$
(2)

From an energetic point of view, the Hamiltonian (2) represents a four-level system with the following energy eigenstates: \(|{g}_{1}{g}_{2}\rangle \) ground state with energy −E, doubly degenerate first excited states \(\{|{e}_{1}{g}_{2}\rangle ,|{g}_{1}{e}_{2}\rangle \}\) with zero energy, and \(|{e}_{1}{e}_{2}\rangle \) with energy +E. All the energy considerations will be made relative to this total Hamiltonian (2). The average energy and the variance of energy of any quantum state of our system is determined in a standard way as

$$\langle E\rangle ={\rm{Tr}}(\hat{\rho }\hat{H}),\,\langle \Delta {E}^{2}\rangle ={\rm{Tr}}(\hat{\rho }{\hat{H}}^{2})-{\langle E\rangle }^{2}.$$
(3)

To quantify coherence of the state, we use the relative entropy of coherence (denoted simply “coherence” from now on) defined as32

$$C(\hat{\rho })=S({\hat{\rho }}_{diag})-S(\hat{\rho }),$$
(4)

where \(S(\hat{\rho })=-\,{\rm{Tr}}(\hat{\rho }\,\mathrm{ln}\,\hat{\rho })\) is von Neumann entropy and \(S({\hat{\rho }}_{diag})\) is the entropy of the diagonal version of the state with respect to the energy basis. Thus, the latter one effectively amounts to the Shannon entropy of state \(\hat{\rho }\) concerning energy eigenbasis. The maximum value of coherence C depends on the dimension D of the system Hilbert space. For any system \(0\le C\le \,\mathrm{ln}\,D\) holds32, thus, e.g., for a single TLS it is upper bounded by \(C=\,\mathrm{ln}\,2\). If the single basic step of the protocol increases both coherence and energy, this result would constitute a prerequisite to use such coherent energy for an iterative procedure on many TLSs.

The choice of the relative entropy of coherence, Eq. (4), as our measure is definitely not unique. As another possibility, we may use as well the l1-norm based measure32. Although both are proper coherence measures, we prefer relative entropy of coherence. Such preference is motivated by the recognized connection of C\((\hat{\rho })\) with thermodynamic quantities2 and the notion of von Neumann entropy, naturally connecting this measure and thermodynamics in much broader sense.

As we are interested in changes of the battery energy and coherence, we focus on the behavior of the energy difference

$$\Delta E={E}_{f}-{E}_{0},\,{E}_{f}\equiv {\rm{Tr}}({\hat{\rho }}_{f}\hat{H}),\,{E}_{0}\equiv {\rm{Tr}}({\hat{\rho }}_{0}\hat{H}),$$
(5)

between the final energy after the charging and the initial energy before the charging process, respectively. Similarly, we focus on the change of the coherence

$$\Delta C={C}_{f}-{C}_{0},\,{C}_{f}\equiv C({\hat{\rho }}_{f}),\,{C}_{0}\equiv C({\hat{\rho }}_{0}),$$
(6)

of the battery state.

By advancing substantially presentation of the results, we can see the opening result of this paper plotted in Fig. 1b. The plot shows the simultaneous increase in the energy \(\Delta E > 0\) and coherence \(\Delta C > 0\) of the battery after charging process with non-negligible probability of success ps.

Synthesizing the 2-TLS coherent battery made from pure states

Before we analyze more realistic cases of TLS in mixed states, we discuss the ideal case showing the main idea of our approach. We consider charging of the battery consisting of a pair of TLS in the following initial state

$$|{\psi }_{j}\rangle =\sqrt{p}\,|{e}_{j}\rangle +\sqrt{1-p}\,|{g}_{j}\rangle ,\,j=1,2,$$
(7)

where the Hamiltonians defining the respective energy eigenstates are in Eq. (1). This type of state can be, in principle, a steady state of TLS, originating from a certain type of interaction with a thermal bath13. This bath can increase the TLS energy and coherence with respect to its ground state g. Such case will serve below as an optimization target for harnessing of coherent energy from the environment. The corresponding initial state of the TLS pair is

$$\begin{array}{rcl}|{\Psi }_{i}\rangle & = & |{\psi }_{1}\rangle \otimes |{\psi }_{2}\rangle \\ & = & p\,|{e}_{1}{e}_{2}\rangle +\sqrt{p(1-p)}(|{e}_{1}\,{g}_{2}\rangle +|{g}_{1}{e}_{2}\rangle )+(1-p)|{g}_{1}{g}_{2}\rangle .\end{array}$$
(8)

As it is well known, projective measurement applied to the system can change the state closer to a desired one. We want to choose such measurement that will charge the battery, i.e., increase its energy but also coherence, if possible. Moreover, we want to achieve this goal without using projectors on states with any coherence with respect to the energy eigenbasis of the Hamiltonian (2). If we project on the superposition of energy eigenstates, coherence can be induced by the measurement itself. Therefore, only projectors diagonal in the measurement basis are allowed. Namely, we choose the pair \(\{{\hat{P}}_{0},{\hat{P}}_{1}=\hat{1}-{\hat{P}}_{0}\}\), with

$${\hat{P}}_{0}=|{g}_{1}{g}_{2}\rangle \langle {g}_{1}{g}_{2}|,\,{\hat{P}}_{1}=\hat{1}-{\hat{P}}_{0}.$$
(9)

Application of such measurement results in two conditional post-measurement states

$$|{\Psi }_{0}\rangle =\frac{{\hat{P}}_{0}|{\Psi }_{i}\rangle }{\sqrt{1-{p}_{s}}}=|{g}_{1}{g}_{2}\rangle ,$$
(10)
$$|{\Psi }_{f}\rangle =\frac{{\hat{P}}_{1}|{\Psi }_{i}\rangle }{\sqrt{{p}_{s}}}=\frac{p|{e}_{1}{e}_{2}\rangle +\sqrt{p(1-p)}(|{e}_{1}{g}_{2}\rangle +|{g}_{1}{e}_{2}\rangle )}{\sqrt{p(2-p)}},\,p\ne 0,$$
(11)

where \({p}_{s}=p(2-p)\) is the probability of success of the charging procedure, applied to a pair of TLS, serving as a new normalization factor. Equation (11) represents the final state after successful round of the battery charging process. In the case of the success, we fuse the initially independent pair of TLS into a larger superposition, thus creating and coherently charging the battery simultaneously. The failure of the protocol results in reducing the initial energy and coherence to zero, by bringing the TLS pair to the energetic ground state. Thus, these pairs (failed to be charged) can be used once more to harness a partial coherence from the environment. If such a strategy is repeated, the probability of failure after R independent repetitions (meaning that the battery will be not charged even in a single event) decreases as

$${p}_{f}^{(R)}={(1-{p}_{s})}^{R}={(1-p)}^{2R},\,R\ge 1,$$
(12)

with p the probability of single TLS excitation, Eq. (7). As illustrated in the inset of Fig. 1a, such event becomes almost impossible at an exponential rate.

The state (11) determines the final energy Ef and its variance \(\langle \Delta {E}_{f}^{2}\rangle \) with respect to the Hamiltonian (2), yielding

$${E}_{f}=\langle {\Psi }_{f}|\hat{H}|{\Psi }_{f}\rangle =\frac{pE}{2-p},\,\langle \Delta {E}_{f}^{2}\rangle =\frac{2p(1-p){E}^{2}}{2-p},\,p\ne 0.$$
(13)

It can be compared to the initial average energy and the initial energy variance of the state (8)

$${E}_{0}=\langle {\Psi }_{i}|\hat{H}|{\Psi }_{i}\rangle =(2p-1)E,\,\langle \Delta {E}_{0}^{2}\rangle =2p(1-p){E}^{2},$$
(14)

yielding the energy gain

$$\Delta E=\frac{2{(1-p)}^{2}}{2-p}E.$$
(15)

The dependence of both on the excitation probability p, c.f. Eq. (7), are shown in Fig. 2a. Clearly, sorting of the total ensemble of states \(|{\Psi }_{i}\rangle \) increases the energy conditionally on the subensemble of states \(|{\Psi }_{f}\rangle \), resulting in \(\Delta E > 0\), cf. Eq. (5). We emphasize the fact, that \({E}_{f}\ge {E}_{0}\) for all excitation probabilities p with the largest increase in the region \(p\ll 1\), together with the decrease of the energy variance \(\langle \Delta {E}_{f}^{2}\rangle < \langle \Delta {E}_{0}^{2}\rangle \) for all \(0 < p < 1\). We can explain this effect by noting that the successful charging procedure cuts-off the lowest energy contribution (−E), weighted by the ground state probability \({\mathrm{(1}-p)}^{2}\). This amounts to new conditional populations of the energy eigenstates, Eq. (11), the shift of the average energy \({E}_{0}\to {E}_{f}\), and lowering of the energy variance \(\langle \Delta {E}_{f}^{2}\rangle < \langle \Delta {E}_{0}^{2}\rangle \), c.f. Eqs. (13) and (14), hence concentrating the energy distribution of the final battery. Together with the fact, that the average value of energy is increased by the protocol, \({E}_{f} > {E}_{0}\), one can understand the situation as an increase in the quality of coherent energy. Simultaneously, the projective measurement does not distinguish the states \(|{e}_{1}{e}_{2}\rangle ,|{e}_{1}\,{g}_{2}\rangle ,|{g}_{1}{e}_{2}\rangle \) and therefore it allows not only to keep the initial coherence, but even to increase it.

Figure 2
figure 2

(a) The plot of the normalized average energy \({E}_{f}/E\), \({E}_{0}/E\) and the relative entropy of coherence \({C}_{f}\), \({C}_{0}\) for the final state \(|{\Psi }_{f}\rangle \), Eq. (11), and the initial state \(|{\Psi }_{i}\rangle \), Eq. (8), for a pair of TLS in pure states. The values are plotted vesrus the TLS excitation probability p, Eq. (7), with the red vertical line guiding the eye for the value \(p=0.1\) and black arrows expressing the coherence and energy increase. The conditional increase of the final energy over the initial one, \(({E}_{f}-{E}_{0})/E > 0\), is achieved with maximum in the region of small p. The final entropy of coherence can be conditionally increased above the initial one in a region of small excitation probabilities p, up to the point \({\tilde{C}}_{0}\approx 0.96\). (b) Plot of the difference between the final and initial relative entropy of coherence, \(\Delta C={C}_{f}-{C}_{0}\), Eq. (21), for a pair of TLS in partially-coherent states with different values of \(\varepsilon \). The values are plotted versus the TLS excitation probability p, Eq. (18), again the red vertical line guides the eye for the value \(p=0.1\), as in the left panel. The final entropy of coherence can be conditionally increased above the initial one in a region of small excitation probabilities p, up to the point \({\tilde{C}}_{0}(\varepsilon )\), cf. Eq. (22). The final and initial energy, Ef/E and E0/E of the system is identical as for the case of pure states, cf. panel (a), as energy is determined by diagonal terms of density matrix \(\hat{\rho }\) only and is independent of \(\varepsilon \).

Having characterized the initial and final states \(|{\Psi }_{i}\rangle \), \(|{\Psi }_{f}\rangle \), we can determine their coherence C0, Cf, respectively, Eq. (4), in a straightforward way. The initial coherence of the state \(|{\Psi }_{i}\rangle \) is (due to TLS independence) additive, and reads

$${C}_{0}=-\,2[p\,\mathrm{ln}\,p+(1-p)\,\mathrm{ln}(1-p)],$$
(16)

plotted in Fig. 2a. The analytic form of Cf is, however, cumbersome, thus we present the result only graphically. It reveals that \({C}_{f}\ge {C}_{0}\) in the region of low excitation probabilities \(p\le {p}_{0}\approx 0.18\). The value p0 is the solution of a transcendent equation \({C}_{f}(p)={C}_{0}(p)\), not solvable analytically. Therefore, it is more informative to focus on the relation between the final and initial coherence and deal with p as with an implicit parameter. Such an approach yields approximate functional relation valid for every p

$${C}_{f}\approx \,\mathrm{ln}\,2(\frac{2}{5}{C}_{0}+1).$$
(17)

This result provides immediately \({\mathrm{lim}}_{{C}_{0}\to 0}\,{C}_{f}=\,\mathrm{ln}\,2\), see Fig. 2a. The relation (17) captures the linear transformation “amplifying” \({C}_{0}\to {C}_{f}\) up to the boundary value \({C}_{f}={\tilde{C}}_{0}\approx 0.96\). This represents the value of the initial/final coherence where the curves Cf and C0 cross each other. As such, \({\tilde{C}}_{0}\) represents the maximum value of the coherence attainable, if coherence increase is required.

We would like to stress that our protocol basically decomposes any initial state Eq. (8) into component in the one dimensional \(|{g}_{1}{g}_{2}\rangle \) subspace and its orthogonal complement from three dimensional subspace spanned by \(\{|{g}_{1}{e}_{2}\rangle ,|{e}_{1}{g}_{2}\rangle ,|{e}_{1}{e}_{2}\rangle \}\). The validity of the values ΔC and ΔE directly stems from the validity of the form of post-measurement state in Eq. (11) only for \(p\ne 0\). The initial state \(|{\Psi }_{i}\rangle \), Eq. (8), either has a non-zero component in the above mentioned 3D subspace (for \(p > 0\)), or does not have it (for \(p=0\)) in which case there is no increase of the energy and coherence after the successful measurement, causing the discontinuity of the values at \(p=0\). This fact is taken into account in all our derivations and is stressed by the condition \(p\ne 0\) in Eq. (11) and the following.

Synthesizing the 2-TLS coherent battery made from mixed states

Whereas the previous subsection has introduced the main idea of our measurement-based charging process, the following lines will describe the effect of partial coherence of the TLS initial state. Such states are characterized, e.g., by the property \({\rm{Tr}}({\hat{\rho }}^{2}) < 1\) and typically result from dephasing or spontaneous emission processes acting on the TLS. In the following lines, we will study these two archetypal processes individually.

We start with the pure dephasing process acting individually on each TLS because it is usually the fastest process, which reduces coherence after it is harnessed from the environment. In this case, the pure initial state (7) will be modified as

$$\begin{array}{rcl}{\hat{\rho }}_{j} & = & p|{e}_{j}\rangle \langle {e}_{j}|+\varepsilon \sqrt{p(1-p)}(|{e}_{j}\rangle \langle {g}_{j}|+|{g}_{j}\rangle \langle {e}_{j}|)\\ & & +\,(1-p)|{g}_{j}\rangle \langle {g}_{j}|,\,j=1,2,\end{array}$$
(18)

where \(0\le \varepsilon < 1\). The total initial state of the system reads \({\hat{\rho }}_{i}={\hat{\rho }}_{1}\otimes {\hat{\rho }}_{2}\), Eq. (18).

The charging procedure is considered identical to the one in the previous subsection characterized by a pair of projectors \(\{{\hat{P}}_{0},{\hat{P}}_{1}=\hat{1}-{\hat{P}}_{0}\}\), Eq. (9), but applied to the state \({\hat{\rho }}_{i}\), resulting in the successfully charged state

$${\hat{\rho }}_{f}=\frac{{\hat{P}}_{1}{\hat{\rho }}_{i}{\hat{P}}_{1}}{{p}_{s}},\,{p}_{s}=p(2-p)\ne 0,$$
(19)

where ps is the same value of the success probability, Eq. (11), independent of \(\varepsilon \).

We stress, that the partially coherent state, \(\varepsilon < 1\), does not change the results for the average energy Ef, Eq. (3), obtained in the previous subsection, cf. Eq. (13) and Fig. 2a. This is intuitively the case, because E0 as well as Ef, depend only on the diagonal terms appearing in the state (18). Hence, to recall, the initial energy of the battery is

$${E}_{0}={\rm{Tr}}[{\hat{\rho }}_{i}\hat{H}]=(2p-1)E.$$
(20)

On the other hand \(\varepsilon < 1\) strongly influences the values of the initial coherence \({C}_{0}=C({\hat{\rho }}_{i})={\sum }_{j}\,C({\hat{\rho }}_{j})\), Eq. (18), as well as the final one \({C}_{f}=C({\hat{\rho }}_{f})\), Eq. (19). Therefore, the mixedness of the initial state also affects the relation between Cf and C0, cf. Eq. (17), and their difference \(\Delta C={C}_{f}-{C}_{0}\)

$$\Delta C\approx (\frac{5-\varepsilon }{10}\,\mathrm{ln}\,2-1){C}_{0}+{\varepsilon }^{2}\,{\rm{arctanh}}\,{\varepsilon }^{2}+\,\mathrm{ln}\,\sqrt{1-{\varepsilon }^{4}}.$$
(21)

Plot of ΔC, Eq. (21), is shown in Fig. 2b for several values of parameter \(\varepsilon \). Following the same logic as in the previous subsection, we characterize the upper bound on the initial coherence value C0 that can be still increased. Equation (21) yields the following result

$${\tilde{C}}_{0}=\frac{{\varepsilon }^{2}\,{\rm{arctanh}}\,{\varepsilon }^{2}+\,\mathrm{ln}\,\sqrt{1-{\varepsilon }^{4}}}{1-\,\mathrm{ln}\,2(5-\varepsilon )/10}\approx \frac{{\varepsilon }^{4}}{2[1-\,\mathrm{ln}\,2(5-\varepsilon )/10]},$$
(22)

as the numerator of the middle fraction can be well approximated by the function \({\varepsilon }^{4}/2\) up to \(\varepsilon \approx 0.8\). We see, Fig. 2b, that for decreasing \(\varepsilon \) the maximum value \({\tilde{C}}_{0}\) for which coherence increase is obtained, shifts to lower values of p.

Now we turn our attention to the initial state of the pair of TLS resulting from a process of spontaneous emission with probability \(\eta \). Such a state has the form

$$\begin{array}{rcl}{\overline{\hat{\rho }}}_{i} & = & \{[(1-p)+\eta p]|{g}_{1}\rangle \langle {g}_{1}|+\sqrt{1-\eta }\sqrt{p(1-p)}\\ & & \times \,(|{g}_{1}\rangle \langle {e}_{1}|+|{e}_{1}\rangle \langle {g}_{1}|)+(1-\mathrm{\eta .})p|{e}_{1}\rangle \langle {e}_{1}|\}\\ & \otimes & \{[(1-p)+\eta p]|{g}_{2}\rangle \langle {g}_{2}|+\sqrt{1-\eta }\sqrt{p(1-p)}\\ & & \times \,(|{g}_{2}\rangle \langle {e}_{2}|+|{e}_{2}\rangle \langle {g}_{2}|)+(1-\eta )p|{e}_{2}\rangle \langle {e}_{2}|\},\,0\le \eta \le 1.\end{array}$$
(23)

Subjecting this state to the projector based charging procedure \(\{{\hat{P}}_{0},{\hat{P}}_{1}=\hat{1}-{\hat{P}}_{0}\}\), Eq. (9), yields successful post measurement state

$${\bar{\hat{\rho }}}_{f}=\frac{{\hat{P}}_{1}{\bar{\hat{\rho }}}_{i}{\hat{P}}_{1}}{{\bar{p}}_{s}},\,{\bar{p}}_{s}=(1-\eta )p[2-p(1-\eta )]\ne 0.$$
(24)

The initial energy of the battery now reads

$${\overline{E}}_{0}=E[2p(1-\eta )-1].$$
(25)

As in the previous lines it is more useful to show the approximate result for coherence change ΔC, Eq. (6), than the individual summands, yielding

$$\Delta \overline{C}\approx [\frac{2\,\mathrm{ln}\,2}{5}(1+\frac{5}{2}\eta )-1]\,{\overline{C}}_{0}+\,\mathrm{ln}\,2,$$
(26)

a good approximation for \(0\le \eta \le 1/3\). The interesting fact that Δ\(\overline{C}\) increases with \(\eta \) stems from the different speed at which \({\overline{C}}_{0}\) and \({\overline{C}}_{f}\) decrease with \(\eta \). This opens the gap Δ\(\overline{C}\) between them and simultaneously increases the lower-value crossing point, \({C}_{f}={C}_{0}\), in which the charging protocol stops increasing the coherence. This value reads (if such point of coincidence exists), see Fig. 3b,

$${\tilde{C}}_{0}\approx \,\mathrm{ln}\,2{[1-\frac{2\mathrm{ln}2}{5}(1+\frac{5}{2}\eta )]}^{-1}.$$
(27)
Figure 3
figure 3

(a) The plot of the normalized average energy \({\overline{E}}_{f}/E\), \({\overline{E}}_{0}/E\) and the relative entropy of coherence \({\overline{C}}_{f}\), \({\overline{C}}_{0}\) for the final state \({\overline{\hat{\rho }}}_{f}\), Eq. (24), and the initial state \({\overline{\hat{\rho }}}_{i}\), Eq. (23), with spontaneous emission probability \(\eta =0.1\). The values are plotted versus the TLS excitation probability p, Eq. (7), the red vertical line guides the eye for the value \(p=0.1\), and the blue arrows express the coherence and energy increase. The conditional increase of the final energy over the initial one, \(({\overline{E}}_{f}-{\overline{E}}_{0})/E > 0\), is achieved with maximum in the region of small p. The final coherence can be conditionally increased above the initial one in a region with \(\eta \) dependent boundary. (b) The plot of the difference between the final and initial coherence, \(\Delta \overline{C}={\overline{C}}_{f}-{\overline{C}}_{0}\), Eq. (26), for a pair of TLS in states after spontaneous emission with different values of \(\eta \). For \(\eta \ll 1\) one finds the increase in the region of small excitation probabilities p (again the red vertical line guides the eye for the value \(p=0.1\)) up to the point \({\tilde{C}}_{0}\), Eq. (27). Remarkably, for increasing \(\eta \), Δ\(\overline{C}\) increases as well, which comes at the expense of the corresponding probability of success \({p}_{s}\), Eq. (24).

Comparison of Eqs. (27) and (22) reveals one striking difference. Although both processes (dephasing and spontaneous emission) of the initial states decrease the initial value of coherence C0 in a similar way, the effect of charging yields results with qualitatively opposite behavior. Whereas lowering \(\varepsilon \), Eq. (18), quickly decreases \({\tilde{C}}_{0}\) (Fig. 2b), the increase of \(\eta \), Eq. (23), leads to the increase of \({\tilde{C}}_{0}\) (Fig. 3b).

Use of POVM for optimizing ΔE or ΔC at the expense of success probability

This subsection describes a generalization of the projection-based ideas introduced in the previous subsections. As was presented, the projections are capable of increasing both the energy and coherence by some amount, captured by the results for \(\Delta E > 0\), Eq. (15), and \(\Delta C > 0\), Eq. (21). It is known that generalized measurements, positive-operator-valued-measures (POVMs), can be useful if a compromise between incompatible features has to be found. The POVM is mathematically represented by operators (elements) with the property \(\hat{M}\hat{M}\ne \hat{M}\), valid for any element of POVM. Due to fundamentally different properties of POVM compared to the projection, we can expect improvements in the behavior of ΔE and ΔC. To check this expectation, we numerically generalize and optimize the charging protocol for the use of generalized measurement elements, c.f. Eq. (9), of the form \(\{{\hat{M}}_{0},{\hat{M}}_{1}=\hat{1}-{\hat{M}}_{0}\}\) with

$${\hat{M}}_{0}=a|{g}_{1}{g}_{2}\rangle \langle {g}_{1}{g}_{2}|+b\,(|{g}_{1}{e}_{2}\rangle \langle {g}_{1}{e}_{2}|+|{e}_{1}\,{g}_{2}\rangle \langle {e}_{1}\,{g}_{2}|),\,0\le a,b\le 1,$$
(28)

applied to the pure initial state \(|{\Psi }_{i}\rangle \), Eq. (8). Clearly, the case \(a=1\), \(b=0\) represents the projector used at the beginning of this section. On the other hand, \(a=1\), \(b=1\) is clearly an optimal choice for maximization of the final energy, as it results in removing all the populations except those of the state \(|{e}_{1}{e}_{2}\rangle \), preparing the analogy of the successful state (11) with maximum energy, but certainly zero coherence in the energy eigenbasis. Hence, Eq. (28) represent a generalization of the projections to the set of POVM’s, but is still compatible with the previous important choice of measurement elements that are diagonal in the eigenbasis of the Hamiltonian (2).

Due to the more complicated structure of the analytical results obtained using the elements of (28), we restrict ourselves to a graphical representation of the results, see Fig. 4. They present values of the coherence optimized for each fixed excitation probability p, Eq. (7), where the optimization is done over a certain range of a, b parameters, see below. The energy plots show, for each fixed p, the post-measurement value corresponding to the optimal \(\overline{a}\) (or \(\overline{b}\)) parameters determined by optimization of the coherence.

Figure 4
figure 4

Plots of the optimal energy after the charging (a) and coherence (b) for general POVM (green), cf. Eq. (28), and its restricted class with \(a=1\) (orange), applied to the initial state \(|{\Psi }_{i}\rangle \), Eq. (8). These are compared to blue lines showing \({E}_{f}/E\) and Cf from Fig. 2a, respectively. The energy values are given for optimal values of parameters \(\overline{a}\) and \(\overline{b}\) for which the final coherence \({C}_{f}(\overline{b})\) and \({C}_{f}(\overline{a},\overline{b})\) is maximized. The coherence \({C}_{f}(\overline{a},\overline{b})\) (green line), for the general type of POVM, shows substantial increase over the whole range of p (e.g., green arrow for \(p=0.2\) in (b)), compensated by smaller increase in the energy compared to the simple projection, Eq. (9) (e.g., green arrow for \(p=0.2\) in (a)). The results for restricted type of POVM (orange lines) show improvement of the coherence values (e.g., orange arrow for \(p=0.2\) in (b)) over the interval of \(p < 1/2\), and simultaneous increase of the post measurement energy values (e.g., orange arrow for \(p=0.2\) in (a)) on the same interval of p, with respect to the simple projector case, Eq. (9).

Figure 4 shows the results for a general class of POVM, cf. Eq. (28), and its restricted analogue with \(a=1\), \(0\le b\le 1\). We have chosen these two classes, because they represent POVM yielding two qualitatively different results, and we compare them both with the projector case \(a=1\), \(b=0\), see Fig. 4. The results for the more general class indicate a substantial coherence increase over the whole range of p, reaching the maximum attainable value \({C}_{f}(\overline{a},\overline{b})\approx \,\mathrm{ln}\,4\) for a pair of TLS, but this is paid by a smaller increase in the energy compared to the simple projection, Eq. (9) and Fig. 4. For the latter POVM class, we found the increase of coherence in the lower p region (up to \(p=1/2\)) reaching \({C}_{f}(\overline{b})=\,\mathrm{ln}\,3 < \,\mathrm{ln}\,4\), Fig. 4b, and higher increase in energy compared to the simple projection, Eq. (9), whereas POVM defined in Eq. (28) gives an increase in energy with respect to the initial value E0 only in the range of \(0\le p\le 1/2\). This increase is significantly lower compared to the projector-based protocol, Fig. 4a.

The optimization process for both classes of POVMs was made with respect to the final post measurement coherence Cf, Eq. (4). Therefore, the general class, Eq. (28), was optimized over a and b for each fixed p, resulting into \({C}_{f}(\overline{a},\overline{b})\). Figure 4a shows the corresponding final energy \({E}_{f}(\overline{a},\overline{b})/E\). Similarly, the second class of POVM, restricted with \(a=1\), was optimized over a single parameter b, where \({C}_{f}(\overline{b})\) is the corresponding final coherence with optimized values \(\overline{b}\).

The relation between parameters \(\overline{a}\) and \(\overline{b}\), which maximize coherence \({C}_{f}(\overline{a},\overline{b})\), Eq. (28), has the form \(\overline{b}=1-\sqrt{1-\overline{a}}\). Hence, we can rewrite the coherence-maximizing POVM, Eq. (28), as

$$\begin{array}{rcl}{\hat{K}}_{0} & = & \overline{a}|{g}_{1}{g}_{2}\rangle \langle {g}_{1}{g}_{2}|+(1-\sqrt{1-\overline{a}})\,(|{g}_{1}{e}_{2}\rangle \langle {g}_{1}{e}_{2}|\\ & & +\,|{e}_{1}\,{g}_{2}\rangle \langle {e}_{1}\,{g}_{2}|),\,0\le \overline{a}\le 1,\end{array}$$
(29)

whereas the relationship between the optimal value \(\overline{a}\) and the excitation probability p can be well approximated by the polynomial dependence \(\overline{a}\approx 1-3/2{p}^{2}-8{p}^{4}\) in the interval \(0\le p\le 2/5\).

To summarize this subsection, we found that due to the presence of additional free parameters a, b, Eq. (28), which allows for subsequent optimization, POVM protocol offers more resulting options compared to the simple projector based protocol. We have presented two different types of results, out of a number of options. POVM allows both for increase of \({C}_{f}(\overline{a},\overline{b})\) above the projector value Cf, together with simultaneous decrease of \({E}_{f}(\overline{a},\overline{b})\) below Ef, see Fig. 4. On the other hand, different class of POVM offers the possibility of increasing both \({E}_{f}(\overline{b})\) and \({C}_{f}(\overline{b})\) over the corresponding projector values, see Fig. 4. We would like to note, that although POVMs have a similar positive effect (increased average energy and coherence) as the projectors, they may on the other hand increase the variance of energy. This fact underlines the qualitatively different nature of POVMs compared to projection measurements.

Synthesizing N-TLS Coherent Battery Made From Pure States

This section generalizes the results described for a pair of TLS in the previous section. Here, a larger number of systems is subjected to the charging protocol. Namely, we consider a battery given by \(N\ge 2\) noninteracting copies of TLS, characterized by the total Hamiltonian

$${\hat{H}}^{(N)}=\mathop{\sum }\limits_{j=1}^{N}\,{\hat{H}}_{j},$$
(30)

where \({\hat{H}}_{j}\) are respective Hamiltonians of the j-th TLS, given in Eq. (1). In the following we restrict our attention only to the pure (\(\varepsilon =1\)) initial states of the system, cf. Eq. (18)), noting that generalization can be done numerically in a straightforward way.

The total initial state of the N TLS’s battery is therefore, cf. Eq. (7),

$$|{\Psi }_{i}^{(N)}\rangle =\underset{j=1}{\overset{N}{\otimes }}\,|{\psi }_{j}\rangle ,$$
(31)

where \(j=1,\ldots ,N\) labels the copies of TLS. Subsequently, the initial energy of the system is given by a straightforward (due to its additivity) generalization of Eq. (14), yielding

$${E}_{0}^{(N)}=\frac{N{E}_{0}}{2}=\frac{NE}{2}(2p-1).$$
(32)

The charging process is analogous to previous subsections and consists of application of a pair of global projectors \(\{{\hat{P}}_{0}^{(N)},{\hat{P}}_{1}^{(N)}=\hat{1}-{\hat{P}}_{0}^{(N)}\}\), where

$${\hat{P}}_{0}^{(N)}=\underset{j=1}{\overset{N}{\otimes }}\,|{g}_{j}\rangle \langle {g}_{j}|,\,{\hat{P}}_{1}^{(N)}=\hat{1}-{\hat{P}}_{0}^{(N)},$$
(33)

is the projector on the global ground state of the system, cf. Eq. (9). Application of the projector \({\hat{P}}_{1}^{(N)}\) to the state (31) results in successfully charged state

$$|{\Psi }_{f}^{(N)}\rangle =\frac{{\hat{P}}_{1}^{(N)}|{\Psi }_{i}^{(N)}\rangle }{\sqrt{{p}_{s}^{(N)}}},\,{p}_{s}^{(N)}=1-{(1-p)}^{N}\ne 0,$$
(34)

with the probability of success \({p}_{s}^{(N)}=1-{(1-p)}^{N}\) converging to 1 with N, for any finite \(p\ne 0\), and the corresponding energy of the final, successful state

$${E}_{f}^{(N)}=\frac{NE}{2}[\frac{2p}{1-{(1-p)}^{N}}-1].$$
(35)

From these results we obtain an upper bound on the energy increase

$$\Delta {E}^{(N)}\equiv {E}_{f}^{(N)}-{E}_{0}^{(N)}=E[\frac{Np{(1-p)}^{N}}{1-{(1-p)}^{N}}]\approx E(1-Np)\le E,\,p\ll 1,N\gg 1.$$
(36)

The final energy \({E}_{f}^{(N)}\), Eq. (35), after the charging process as a function of p, parametrized by the number N of TLS, is plotted in Fig. 5, where we present the results for pure initial states of \(N=3\) and \(N=4\) TLS, see Fig. 5a,b, respectively. By comparison to results for a pair of TLS, Fig. 2a, we can see the behavior of the final energy \({E}_{f}^{(N)}\) with the growth of N. The final energy in the case of successful charging is increased for all \(p\), however, the energy gain reads \(\Delta {E}^{(N)}\le E\), and it is thus upper bounded by the energy gap \(E\) for all \(N\). Thus, the goal of the charging protocol (energy increase) is achieved, although the change of the energy relative to the total initial energy available, Eq. (32), is decreasing as \(|\Delta {E}^{(N)}/{E}_{0}^{(N)}|\propto {N}^{-1}\) in the range \(p\ll 1\), where the energy increase is maximum.

Figure 5
figure 5

The plot of the normalized average energy \({E}_{f}^{(N)}/E\) (35), \({E}_{0}^{(N)}/E\) (32), and the relative entropy of coherence \({C}_{f}^{(N)}\) (37), \({C}_{0}^{(N)}\) (38), for the final state \(|{\Psi }_{f}^{(N)}\rangle \), Eq. (34), and the initial state \(|{\Psi }_{i}^{(N)}\rangle \), Eq. (31), for \(N=3\) (a) and \(N=4\) (b). The values are plotted versus the higher level excitation probability p, Eq. (7). The average energy gain, \(0\le {E}_{f}^{(N)}-{E}_{0}^{(N)}\), is achieved with maximum for \(p\to 0\). The final entropy of coherence \({C}_{f}^{(N)}\) can be conditionally increased above the initial one \({C}_{0}^{(N)}\) in a region of small excitation probabilities p. The gain of coherence \(\Delta {C}^{(4)} > \Delta {C}^{(3)} > \Delta {C}^{(2)}\) increases with the number N of TLS constituting the battery, whereas the energy gain is limited by \({E}_{f}^{(N)}-{E}_{0}^{(N)}\le E\) for every N, see Eq. (36). The red vertical line is a guide for the eye at \(p=0.1\) and the black arrows indicate the energy and coherence increase for each respective N.

The expression for the final coherence \({C}_{f}^{(N)}\) for the successful measurement outcome in the case of pure initial state (31) (the term corresponding to the von Neumann entropy vanishes) reads

$${C}_{f}^{(N)}=-\,\mathop{\sum }\limits_{k=1}^{N}\,(\begin{array}{c}N\\ k\end{array})\frac{{p}^{k}{(1-p)}^{N-k}}{1-{(1-p)}^{N}}\,\mathrm{ln}\,[\frac{{p}^{k}{(1-p)}^{N-k}}{1-{(1-p)}^{N}}],\,\mathop{\mathrm{lim}}\limits_{p\to 0}{C}_{f}^{(N)}=\,\mathrm{ln}\,N,$$
(37)

and should be compared to the coherence of the initial pure state, Eq. (31),

$${C}_{0}^{(N)}=-\,\mathop{\sum }\limits_{k=0}^{N}\,(\begin{array}{c}N\\ k\end{array}){p}^{k}{(1-p)}^{N-k}\,\mathrm{ln}\,[{p}^{k}{(1-p)}^{N-k}].$$
(38)

The examples of coherence, \({C}_{f}^{(N)}\) and \({C}_{0}^{(N)}\), are plotted in Fig. 5a,b. Their difference increases with N, contrary to the behavior of \(\Delta {E}^{(N)}\), as well as the range of the excitation probabilities p in which \(\Delta {C}^{(N)}\equiv {C}_{f}^{(N)}-{C}_{0}^{(N)}\ge 0\). Notably, this last property is positive due to the fact that the higher N we use, the less we are restricted by the choice of parameters for which we observe the positive effect of the charging protocol, i.e., the energy \({E}_{f}^{(N)}\) and coherence \({C}_{f}^{(N)}\) increase, over the respective initial values. Moreover, it follows from Eqs. (37) and (38) that for fixed initial state excitation probability p, Eq. (7), we obtain

$$\Delta {C}^{(N)} > \cdots > \Delta {C}^{(3)} > \Delta {C}^{(2)},$$
(39)

and the crossing points \(\Delta {C}^{(N)}=0\) are shifting towards larger excitation probabilities p, see Fig. 6a. It is worth noting, that \({\mathrm{lim}}_{p\to 0}\,{C}_{f}^{(N)}(p)=\,\mathrm{ln}\,N\) is monotonically increasing with the number of TLS. However, taken relative to the maximum achievable coherence in the system of N TLS, \({C}_{{\rm{\max }}}^{(N)}=N\,\mathrm{ln}\,2\), the ratio \({C}_{f}^{(N)}(0)/{C}_{{\rm{\max }}}^{(N)}\) approaches zero for increasing N. This result can be interpreted as the inability to fully exploit the values of coherence offered by increasing the dimension of our system with the present protocol in the region of \(p\ll 1\). On the other hand, in the region \(p\approx 1/2\) the post-measurement coherence value \({C}_{f}^{(N)}(1/2)\) approaches monotonically the value \({C}_{{\rm{\max }}}^{(N)}\) with increasing N, c.f. Fig. 5.

Figure 6
figure 6

(a) The gain of coherence \(\Delta {C}^{(4)} > \Delta {C}^{(3)} > \Delta {C}^{(2)}\) increasing with the number N of TLS constituting the battery. (b) The results for the pairwise approach, \(N=4\) TLS, namely the plot of the normalized average energy \({E}_{f}^{\mathrm{(4}-p)}/E\), \({E}_{0}^{\mathrm{(4)}}/E\), the relative entropy of coherence \({C}_{f}^{\mathrm{(4}-p)}\), \({C}_{0}^{\mathrm{(4)}}\), Eq. (38), for the final state \({\hat{P}}_{1}^{{\rm{tot}}}|{\Psi }_{i}^{(4)}\rangle \), Eq. (40), and the pure initial state \(|{\Psi }_{i}^{(4)}\rangle \), Eq. (31). The values are plotted versus the single TLS excitation probability p, Eq. (7). The average energy gain, \(0\le {E}_{f}^{(4-p)}-{E}_{0}^{(4)}\) is achieved with maximum in the region of small p. The final entropy of coherence \({C}_{f}^{(4-p)}\) can be conditionally increased above the initial one \({C}_{0}^{(4)}\) in a region of small excitation probabilities p, whereas generally \({\mathrm{lim}}_{p\to 0}\,{C}_{f}^{(N-p)}=\,\mathrm{ln}(N/2+1)\), for even N. The red vertical line is a guide for the eye at \(p=0.1\), and the black arrows show the energy and coherence increase.

At this point we want to mention another possible charging protocol employing N TLS. Its detailed analysis is beyond the scope of this paper. It does not rely on global measurement on all TLS, but instead, on sequential pairwise application of the protocol introduced in the previous section, to the initial state (31) in the sense \({\hat{P}}_{1}^{{\rm{tot}}}|{\Psi }_{i}^{(N)}\rangle \), where

$${\hat{P}}_{1}^{tot}\equiv \mathop{\prod }\limits_{i=1}^{N-1}\,{\hat{P}}_{1}^{(i-i+1)},\,{\hat{P}}_{1}^{(i-j)}=\hat{1}-|{g}_{i}{g}_{j}\rangle \langle {g}_{i}{g}_{j}|.$$
(40)

Preliminary results suggest that such sequential pairwise protocol allows for energy increase, \(\Delta {E}^{(N-p)} > 0\), and coherence increase, \(\Delta {C}^{(N-p)} > 0\), in a qualitatively similar fashion as the global one, namely in the region of \(p\ll 1\). On the quantitative side, the energy increase in the pairwise protocol is larger than in the global one, while for coherence it is the opposite case, c.f. Figs. 5b and 6b for numerical evidence. An example of this observation can be given for the zero excitation probability limit (even N) \({\mathrm{lim}}_{p\to 0}\,{C}_{f}^{(N-p)}=\,\mathrm{ln}(N/2+1)\), compared to its global counterpart \({\mathrm{lim}}_{p\to 0}\,{C}_{f}^{(N)}=\,\mathrm{ln}\,N\), Eq. (37). The probability of success is in general smaller for the pairwise protocol compared to the global one, Eq. (34).

At this point, we would like to stress that such (simplified) protocol can be applied on all types of states (pure, dephased, after spontaneous emission, etc.) mentioned in the previous sections, due to its pairwise structure and it can be combined (in certain stages) with the repeat-until-success strategy introduced in the first section.

Conclusions and Outlook

We have presented a protocol for the repeat-until-success charging of the quantum battery by means of quantum measurement application. The building blocks of our battery are factorized copies of identical two-level systems (TLS) with nonzero, although possibly very small, population of the excited state, and some small residual coherence that can be achieved by a suitable interaction with a sufficiently cold thermal bath13. A pair of TLS subsequently undergoes a global, unity-resolving measurement with two possible outcomes, each represented by an operator diagonal in the TLS energy basis.

If the protocol succeeds, we synthesize the initially independent pair of TLS into a system with higher coherent energy, thus creating and charging the battery simultaneously. The failure of the protocol results in reducing the initial energy and coherence to zero. These two possibilities represent the outcomes of the inherently conditional protocol, however with the possibility of increasing the success probability arbitrarily close to one (using repeat-until-success strategy), turning the protocol effectively into a deterministic one. Our results show that the partial purity and/or previous spontaneous emission of the energy of the initial state decreases the positive effect of the charging, but does not prevent the charging in principle. The variance of energy is decreased in this type of charging protocol.

The results of the projector-based charging protocol were generalized to the case of using N-TLS, either in a global or pairwise approach. The final value of the coherent energy can be increased even more, due to optimization, if the measurement consists of POVM elements. Such protocol is superior in the value of coherence and energy with respect to the results of the projective measurement. The results should stimulate proof-of-principle experimental verification of such energy synthesizing using controlled quantum systems. To verify the observability of simultaneous energy and coherence increase, experimental tests can be implemented using photons33,34,35,36, employing such optical toolbox also with atoms37,38,39, or solid-state systems40,41. The implementation of measurement strategy for another experimental platforms is under development. This optical experimental tests would stimulate quantum thermodynamic analysis2,42 of such synthesis, already used to analyze energy manipulations27,43,44.

We have verified that many paths are open to synthesize energy in coherent quantum battery for further optimization. This optimization is a demanding top-to-bottom task, therefore, it has to be solved numerically.