원시데이터 수집 시스템
선정목록으로

Thermodynamically Ideal Quantum State Inputs to Any Device

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Paul M. Riechers — Beyond Institute for Theoretical Science, San Francisco, California 94110, USA
  2. Chaitanya Gupta — H.H. Wills Physics Laboratory, University of Bristol, Tyndall Avenue, Bristol BS8 1TL, United Kingdom
  3. Artemy Kolchinsky — ICREA-Complex Systems Lab, Universitat Pompeu Fabra, 08003 Barcelona, Spain|||Universal Biology Institute, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033, Japan
  4. Mile Gu — CNRS-UNS-NUS-NTU International Joint Research Unit, UMI 3654, Singapore 117543, Singapore|||Centre for Quantum Technologies, National University of Singapore, Singapore 117543, Singapore|||National University of Singapore|||Nanyang Quantum Hub, School of Physical and Mathematical Sciences, Nanyang Technological University, Singapore 639798, Singapore
DOI
10.1103/prxquantum.5.030318
저널
PRX Quantum
발행년도
2024
발행기관
American Physical Society
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1103/prxquantum.5.030318
토픽
Thermal properties of materials
OpenAlex ID
W4401077851

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We investigate and ascertain the ideal inputs to any finite-time physical process. We demonstrate that the expectation values of entropy flow, heat, and work can all be determined via Hermitian observables of the initial state. These Hermitian operators encapsulate the breadth of behavior and the ideal inputs for common thermodynamic objectives. We show how to construct these Hermitian operators from measurements of thermodynamic output from a finite number of effectively arbitrary inputs. The behavior of a small number of test inputs thus determines the full range of thermodynamic behavior from all inputs. For any process, entropy flow, heat, and work can all be extremized by pure input states—eigenstates of the respective operators. In contrast, the input states that minimize entropy production or maximize the change in free energy are nonpure mixed states obtained from the operators as the solution of a convex-optimization problem. To attain these, we provide an easily implementable gradient-descent method on the manifold of density matrices, where an analytic solution yields a valid direction of descent at each iterative step. Ideal inputs within a limited domain, and their associated thermodynamic operators, are obtained with less effort. This allows analysis of ideal thermodynamic inputs within quantum subspaces of infinite-dimensional quantum systems; it also allows analysis of ideal inputs in the classical limit. Our examples illustrate the diversity of “ideal” inputs: distinct initial states minimize entropy production, extremize the change in free energy, and maximize work extraction. Published by the American Physical Society 2024

본문 76,501자

본문 펼치기
We investigate and ascertain the ideal inputs to any finite-time thermodynamic process. We demonstrate that the expectation values of entropy flow, heat, and work can all be determined via Hermitian observables of the initial state. These Hermitian operators encapsulate the breadth of behavior and the ideal inputs for common thermodynamic objectives. We show how to construct these Hermitian operators from measurements of thermodynamic output from a finite number of effectively arbitrary inputs. Behavior of a small number of test inputs thus determines the full range of thermodynamic behavior from all inputs. For any process, entropy flow, heat, and work can all be extremized by pure input states-eigenstates of the respective operators. In contrast, the input states that minimize entropy production or maximize the change in free energy are non-pure mixed states obtained from the operators as the solution of a convex optimization problem. To attain these, we provide an easily implementable gradient descent method on the manifold of density matrices, where an analytic solution yields a valid direction of descent at each iterative step. Ideal inputs within a limited domain, and their associated thermodynamic operators, are obtained with less effort. This allows analysis of ideal thermodynamic inputs within quantum subspaces of infinite-dimensional quantum systems; it also allows analysis of ideal inputs in the classical limit. Our examples illustrate the diversity of 'ideal' inputs: Distinct initial states minimize entropy production, extremize the change in free energy, and maximize work extraction. (Dated: May 2, 2023) We investigate and ascertain the ideal inputs to any finite-time thermodynamic process. We demonstrate that the expectation values of entropy flow, heat, and work can all be determined via Hermitian observables of the initial state. These Hermitian operators encapsulate the breadth of behavior and the ideal inputs for common thermodynamic objectives. We show how to construct these Hermitian operators from measurements of thermodynamic output from a finite number of effectively arbitrary inputs. Behavior of a small number of test inputs thus determines the full range of thermodynamic behavior from all inputs. For any process, entropy flow, heat, and work can all be extremized by pure input states-eigenstates of the respective operators. In contrast, the input states that minimize entropy production or maximize the change in free energy are non-pure mixed states obtained from the operators as the solution of a convex optimization problem. To attain these, we provide an easily implementable gradient descent method on the manifold of density matrices, where an analytic solution yields a valid direction of descent at each iterative step. Ideal inputs within a limited domain, and their associated thermodynamic operators, are obtained with less effort. This allows analysis of ideal thermodynamic inputs within quantum subspaces of infinite-dimensional quantum systems; it also allows analysis of ideal inputs in the classical limit. Our examples illustrate the diversity of 'ideal' inputs: Distinct initial states minimize entropy production, extremize the change in free energy, and maximize work extraction. I. INTRODUCTION Throughout its history, thermodynamics primarily investigated the efficiency of various control processes for implementing a desired functionality. However, the complementary question of which initial physical states produce the best thermodynamic behavior remains relatively unexplored. Indeed, there is a historical reason for this: In equilibrium transformations, the system always stays infinitesimally close to equilibrium, so there is no sense in asking about alternative inputs to the process. Yet modern devices transform quantum and classical system rapidly. These finite-time nonequilibrium transformations have highly non-trivial initial-state dependence. Here we explore the ideal thermodynamic inputs to such devices, where the system can be arbitrarily far from equilibrium throughout the transformation. I. INTRODUCTION The initial-state dependence of entropy production and associated thermodynamic quantities has been explored only recently in relation to the ideal inputs, via mismatch costs [1][2][3][4]. However, the minimally dissipative input was only characterized in the case of reset processes [3,4] and, even then, a construction was only given for qubits [3]. In the following, we constructively identify the thermodynamically ideal inputs for a much broader class of objectives, including heat minimization, maximizing work extraction, and maximizing gain in free energy. Moreover, the ideal inputs are characterized and constructively identified for systems of arbitrary finite dimensions, for any finite-time process. The results apply to both quantum and classical systems. The results thus apply broadly, from biology to electronics to cosmology, wherever finite-time thermodynamics is relevant. II. OVERVIEW OF FRAMEWORK It is often desirable for a physical device to implement a fixed transformation on arbitrary input. For example, in quantum technology, we often want to construct a device that implements a prescribed completely positive and trace preserving (CPTP) map. The device can achieve this via a time-dependent protocol that partially controls the system's Hamiltonian and its interactions with its environment. We assume that the control protocol and the initial state of the environment are fixed, while we are free to select the initial (mixed or pure) state of the system to input to our device. The initial joint state of the system-environment supersystem is then ρ tot 0 = ρ 0 ⊗ ρ env 0 . The joint system-baths supersystem evolves unitarily via U t , such that the joint state at any later time t is given as ρ tot t = U t ρ tot 0 U † t . The reduced states of the system and environment are given at any time by the appropriate partial trace of the joint state: ρ t = tr env (ρ tot t ) and ρ env t = tr sys (ρ tot t ). Any CPTP transformation of the system can be achieved this way. In the following sections, we will discover the thermodynamically ideal inputs to any such CPTP transformation. To achieve this, we first introduce thermodynamic operators in Sec. III, generalized Bloch vectors in Sec. IV, and thermodynamic vectors in Sec. V. We then show how to construct these thermodynamic vectors and operators from experimental observations in Sec. VI. This finally allows us to discuss and construct the thermodynamically ideal inputs in Secs. VII and VIII. Sec. IX shows how these results apply to restricted subspaces-which is important for understanding the classical limit, and for applying the results to low-energy subspaces of infinite-dimensional systems. Finally, the examples in Secs. X and XI illustrate physical implications of our results. III. THERMODYNAMIC OPERATORS Thermodynamic quantities like work, heat, and entropy flow are notoriously path-dependent quantities. Even their average values depend on the time-dependent control protocol and the time-dependent density matrices of system and environment. For example, the expectation value of entropy flow can very generally be calculated as (2) and heat absorbed by the system III. THERMODYNAMIC OPERATORS are familiar centerpieces of the thermodynamic arsenal. In this path-dependent spirit, it has been famously emphasized that "work is not an observable" [5]. III. THERMODYNAMIC OPERATORS It is therefore perhaps surprising that the expectation values of work, heat, and entropy flow can all be determined via Hermitian observables of the initial state. As we show in App. A, since the above expectation values are all linear functionals of the initial density matrix of the system, they can be expressed as III. THERMODYNAMIC OPERATORS where Φ, W, and Q are Hermitian operators, which we refer to as the expected-entropy-flow operator, expected-work operator, and expected-heat operator respectively. We will show that, for a general finite-time thermodynamic process, these thermodynamic operators can be constructed via experimental observations from a finite number of arbitrary inputs. The operators in turn reveal the special collection of initial states that minimize entropy flow, minimize heat, and maximize work extraction. The operators also allow direct calculation of thermodynamic expectation values from any initial state. The expressions in Eq. (4) all clearly take the form III. THERMODYNAMIC OPERATORS which we will study in general. We will say that a thermodynamic quantity is 'type-I' when its expectation value can be expressed as a linear functional of the initial state tr(ρ 0 X ), as in Eq. (5). As an added benefit of studying this general formulation, our methods can also be applied to reconstruct the Hamiltonian, the expected-change-of-energy operator, and infinitely many other linear operators that conform to this general linear structure for expectation values. III. THERMODYNAMIC OPERATORS If the expectation value is always real-valued, then X is guaranteed to be Hermitian (see Thm. 2.4.3 of Hassani [6]). It is known that invasive measurements can change the expected value of work and other thermodynamic variables [7]. We emphasize that different measurement schemes must be treated as distinct quantum processes, since each implies a unique sequence of dynamic interventions. Accordingly, each measurement scheme induces its own set of thermodynamic operators. For example, in App. B, we address the two-point measurements (TPM) scheme, and give an explicit construction of the expected-TPM-work operator W TPM , for which III. THERMODYNAMIC OPERATORS Indeed, for any measurement scheme-TPM [8], one-point measurement [9][10][11], or any other scheme-thermodynamic operators can be constructed, and our framework can be applied to identify both the breadth of behavior and the ideal inputs within the scheme. III. THERMODYNAMIC OPERATORS It is important to note that each of these thermodynamic operators X contain all information needed for expectation values of the relevant thermodynamic quantity X, but do not contain the information that would be needed for expectation values of functions of the thermodynamic quantity, like X 2 or e X . As a point of nomenclature, we note that this is not about whether the operators are 'observable', as has been suggested [5], but is rather an elementary fact about expectation values-X does not determine f (X) . The source of insufficiency is simple to see if we take work as an example: The full work distribution of a process, whether classical or quantum, has support on a space much larger than the dimension d of the system. Accordingly, the d eigenvalues of the thermodynamic operator cannot represent the full probability distribution of the thermodynamic quantity. 1 To address a final nuance, we note that a random variable X in the quantum domain may depend on further specification of subensembles, since a density matrix can be decomposed in many ways [12]. Nevertheless, as discussed in App. C, all decompositions of the initial density matrix lead to the same expectation value for a fixed quantum process. Accordingly, our notation " X ρ0 " unambiguously refers to the expectation value of the relevant thermodynamic quantity X for all possible decompositions of the quantum state. Despite these caveats, the thermodynamic operators serve immense utility. Their d eigenstates represent the only d features that influence the expected value of the thermodynamic variable. Once inferred for a process, the thermodynamic operators tell the full breadth of expected behavior from any input, and identify the unique pure states leading to extremal behavior. Moreover, the performance of any of the infinitely many possible inputs can be calculated simply and directly from the thermodynamic operator, without needing to run a new experiment each time. IV. GENERALIZED BLOCH VECTOR We have promised that thermodynamic operators are the key to identifying thermodynamically ideal inputs to any process. It will be important then to be able to construct these operators. Our construction will lean on generalized Bloch vectors and related thermodynamic vectors, introduced in this and the next section respectively. IV. GENERALIZED BLOCH VECTOR It is well known that the state of a qubit ρ t can be expressed via its Bloch vector a t : IV. GENERALIZED BLOCH VECTOR where σ = (σ x , σ y , σ z ) is the vector of Pauli matrices. For a quantum system of arbitrary finite dimension-i.e., a qudit ρ t acting on a d-dimensional vector space V d -we achieve something similar via a slight adaptation of Ref. [13]. We choose any complete basis (I/d, Γ 1 , Γ 2 , . . . Γ d 2 −1 ) for linear operators acting on V d , such that the Hermitian operators Γ n are all traceless and mutually orthogonal, satisfying tr(Γ n ) = 0, and (8a) IV. GENERALIZED BLOCH VECTOR where we will choose the normalizing constant to be η = d−1 d . Any density matrix then has a unique decomposition in the operator basis Γ = (Γ 1 , IV. GENERALIZED BLOCH VECTOR Since the magnitude of the Bloch vector is IV. GENERALIZED BLOCH VECTOR , the density matrix represents a pure state iff the magnitude of its corresponding Bloch vector is one. For d > 2, not all points in the Bloch ball correspond to physical states, but the set of all physical states is nevertheless a convex set-the convex hull of the pure states, which all lie on a 2(d − 1)-dimensional submanifold of the (d 2 − 2)-dimensional surface of the Bloch sphere [13]. IV. GENERALIZED BLOCH VECTOR For concreteness, we can choose the ordered operator basis to be a scaled ordering of generalized Gell-Mann matricesthe generators of SU(d). See App. E for details. The standard Bloch vector is then recovered in the familiar two-dimensional case of a qubit, where then Γ = σ/2 = (σ x /2, σ y /2, σ z /2) and η = 1/2. Alternatively, App. F shows how to construct valid composite operator bases. V. THERMODYNAMIC VECTORS Leveraging the general Bloch decomposition Eq. (9) of the initial state, we find that we can express each expectation value in Eq. (4) as V. THERMODYNAMIC VECTORS where x ∈ R d 2 −1 is the relevant thermodynamic vector V. THERMODYNAMIC VECTORS In particular, the thermodynamic vector could be the entropy-flow vector ϕ = tr( ΓΦ), the work vector w = tr( ΓW), or the heat vector q = tr( ΓQ). V. THERMODYNAMIC VECTORS Conversely, the thermodynamic operators can be constructed from the thermodynamic vectors: V. THERMODYNAMIC VECTORS Using Eqs. (8a) and (8b), it is easy to verify that Eq. (12) satisfies tr(ρ 0 X ) = X I/d + b 0 · x. V. THERMODYNAMIC VECTORS In the next sections, we show how both X I/d and the thermodynamic vector x can be obtained linear algebraically from experimental measurements of thermodynamic output from a finite number of almost arbitrary inputs 2 . Via Eq. (12), this allows us to experimentally reconstruct the thermodynamic operators from observations of any process. VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS Suppose an experimentalist has an apparatus to transform the state of a finite-dimensional quantum system. (We will address infinite-dimensional systems in Sec. IX.) This experimentalist measures the expectation value of the thermodynamic random variable X that results from each of d 2 linearly independent inputs to their device. I.e., they record the average quantity from each of the initial states (ρ VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS . Note that the generalized Bloch vectors can be obtained as b VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS Notice that the B matrix defined in Eq. (13) is invertible since the d 2 initial states are all linearly independent. Hence, with the d 2 measurements in hand and some simple linear algebra, we can find both (i) the expectation value from the reference input X I/d and (ii) the input-independent thermodynamic vector x: VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS X I/d and x can now be used in Eq. (12) to construct the thermodynamic operator of interest: X = X I/d I + x · Γ/η. This constitutes a type of 'operator tomography', which is distinct but reminiscent of both quantum-state tomography and process tomography. VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS We are now equipped to identify and construct the thermodynamically ideal inputs to any device. VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES Recall that a thermodynamic quantity is 'type-I' when its expectation value can be expressed as a linear functional of the initial state tr(ρ 0 X ). It is often desirable to minimize or maximize type-I quantities, e.g., to minimize heat or maximize work extraction. An immediate observation can be drawn from Eq. (5) for any finite-dimensional quantum system, by considering the spectral decomposition of the bounded operator X = d n=1 λ n |v n v n |, where Λ X = (λ n ) n is the tuple of X 's eigenvalues with corresponding eigenstates V X = (|v n ) n . Theorem 1. There is always a pure-state input that extremizes the expectation value of type-I quantities X ρ0 = tr(ρ 0 X ). This pure state corresponds to an eigenstate of the thermodynamic operator X with extremal eigenvalue. VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES For example: there is always a pure-state input that minimizes heat; there is always a pure-state input that maximizes heat; there is always a pure-state input that minimizes entropy flow; and so on. The implications are important and somewhat surprising. For instance, consider the work extracted W extracted = −W during a finite-time cyclic work-extraction protocol from a finite-dimensional quantum system. Thm. 1 asserts that maximal work can be extracted from the pure-state input |w min ∈ argmin |v ∈V W v|W|v . 3 When the minimaleigenvalue eigenspace of W is degenerate, maximal work extraction can be achieved by both pure and mixed inputs. VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES In contrast, as we will see later, the state that minimizes entropy production is generically a mixed state. Therefore, pure-state inputs that maximize work extraction imply non-minimal entropy production. Similarly, pure-state inputs that minimize heat imply non-minimal entropy production. One broad lesson from this analysis is that maximizing work extraction, minimizing heat, minimizing entropy production, etc., are all distinct concepts that should not be conflated. There is a great diversity in optimality among different thermodynamic goals. This will be emphasized again in our first example in Sec. X. VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES It is worth noting that the smallest and largest eigenvalues of each thermodynamic operator demarcate the range of corresponding expectation values that can be achieved via alternative inputs: VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES All values in this continuous range are achievable by some input. VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES Not all thermodynamic expectation values can be expressed like Eq. (5) as a linear functional of the initial state. In particular, entropy production, reduction in nonequilibrium free energy, and change in entropy all have expectation values that are nonlinear functions of the initial state. However, in each of these three cases, the nonlinearity is of the same form, since it derives from the change of von Neumann entropy S(ρ) = −tr(ρ ln ρ). Accordingly, the initial states that extremize this second class of thermodynamic quantities all share similar features. VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES The expectation value of entropy production, Σ ρ0 = Φ ρ0 + k B ∆S(ρ t ), plays a central role in nonequilibrium thermodynamics. When the environment begins in local equilibrium, and is uncorrelated with both itself and the system, then the famous Second Law of thermodynamics is valid: Σ ρ0 ≥ 0. In the appropriate circumstances, entropy production alternatively can be expressed as the work performed beyond the change in nonequilibrium free energy VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES where T is the initial temperature of the environment. VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES The expectation values of (i) entropy production, (ii) change in free energy, and (iii) change in entropy are each proportional to VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES for the appropriate linear operators X . We will say that a thermodynamic quantity is 'type-II' when its expectation value is proportional to f (X ) ρ0 for some linear operator X and some positive constant of proportionality. In particular, VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES A. General processes Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. This is because type-II quantities are convex in the initial state. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. For general processes, the nonlinearity of type-II objectives makes it difficult to find a closed-form expression for ideal inputs argmin ρ0 f (X ) Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. ρ0 . Nevertheless, since type-II quantities are convex in the initial state, any number of simple algorithms, including gradient descent and related variations, are guaranteed to converge to the ideal input upon iteration. By convexity, a local minimum in f (X ) ρ0 , when minimizing over the set of density matrices, is also the global minimum. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. However, constrained optimization-restricting to the set of density matrices in this case-is non-trivial. Although some techniques for gradient descent on the manifold of density matrices have been developed-see, e.g., Refs. [14,15] and references therein-we found a more direct solution to our problem, which we provide in this section. Our resulting algorithm for gradient descent provides a quantum generalization of the Frank-Wolfe algorithm [16], with a simple analytically solvable direction for descent at each step. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. Using techniques introduced in Ref. [2], we can analytically calculate the gradient of type-II expectation values around any initial state, given any parametrization of the state space. If we consider arbitrary infinitesimal changes in the initial generalized Bloch vector, then the partial derivative of f (X ) ρ0 , with respect to each Bloch-vector component, can be expressed as Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. This follows via an adaptation of the derivation that led to Eqs. (C16) and (O4) in Ref. [2]. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. It is useful to notice how the elements of an arbitrary matrix basis can be expressed as a linear combination of the d 2 test inputs: Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. where we have included the reference state as Γ 0 = I/d. We can likewise express the time-evolution of these matrices, as the same linear combination of the time-evolved test inputs: Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. Partial derivatives of f Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. where Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. A gradient can be constructed as the Hermitian operator Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. However, extra care must be taken to stay along the manifold of valid density matrices. To achieve this, one can use the directional derivative Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. which is the linear change in f (X ) ρ0 at ρ 0 when moving in the direction of ρ 0 . Since density matrices are a convex set, a change in this direction is guaranteed to move along the manifold of density matrices. For simplicity, · can be chosen to be the trace norm. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. Recall that, since f (X ) ρ0 is convex over initial states, descent always benefits its global minimization; there are no non-global local minima to get stuck in. If ρ 0 does not minimize f (X ) ρ0 , then we can find directions (along the manifold of density matrices) with negative slope, and these directions will lead towards the minimizer. Note that moving infinitesimally from ρ 0 towards ρ 0 will reduce f Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. < 0. Accordingly, we can always find a valid direction of descent by identifying the ρ 0 that minimizes tr (ρ 0 − ρ 0 ) ∇f Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. . Fortunately, this desired ρ 0 -call it σ min -can be found explicitly and analytically since Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. where Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. is the minimal-eigenvalue eigenstate of the Hermitian operator ∇f Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. ρ0 . Putting this all together, we can now propose a simple descent method for finding the optimal quantum state: Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. From d 2 linearly independent test inputs, record the initial Bloch matrix B, construct the thermodynamic operator X , and record the time-evolved test states (ρ Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. . Choose an arbitrary initial density matrix ρ 0 , which will be updated iteratively. Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it. At each iterative step k: Determine the descent directionn = σmin−ρ0 σmin−ρ0 , with σ min = |ξ ξ| ξ|ξ , from the minimal-eigenvalue eigenstate |ξ of the Hermitian operator ∇f Determine the descent directionn = σmin−ρ0 3. Update the initial state ρ 0 to approach argmin ρ0 f (X ) ρ0 , according to: Determine the descent directionn = σmin−ρ0 where a k is a small positive value that diminishes with large k. Determine the descent directionn = σmin−ρ0 Notice thatn is a traceless operator. We take a k = 2 k+2 , as suggested by the Frank-Wolfe algorithm [16]. In the limit of many iterations, the algorithm converges then towards its unique fixed point α 0 = argmin ρ0 f (X ) ρ0 with error on the order of O(1/k). Determine the descent directionn = σmin−ρ0 The minimizing input is generically a mixed state with full support. In these cases, success in the type-II minimization can be verified through the mismatch theorem: Determine the descent directionn = σmin−ρ0 where D[ρ α] = tr(ρ ln ρ) − tr(ρ ln α) is the quantum relative entropy, and α 0 = argmin ρ0 f (X ) Determine the descent directionn = σmin−ρ0 ρ0 is the ideal input [2,4]. Theorem 3. A pure state input maximizes a type-II quantity. This is because type-II quantities are convex functions of the initial state, and the maximum of a convex function over a convex set (set of mixed states) is achieved on the boundary of the convex set (the pure states). Theorem 3. A pure state input maximizes a type-II quantity. Local maximization can be achieved by a slight adaptation of the above algorithm, by ascending rather than descending the gradient. The only difference is that the ascent direction is obtained via the maximal-eigenvalue eigenstate of the Hermitian operator ∇f (X ) ρ0 , whereas gradient descent used its minimal-eigenvalue eigenstate. However, local maxima of type-II quantities are not necessarily global maxima. In our simulations, we found the global maxima by seeding our algorithm with argmax ρ0 tr(ρ 0 X ) which was found via spectral decomposition of the thermodynamic operator X . Theorem 3. A pure state input maximizes a type-II quantity. For completeness and clarity, we provide this ascent algorithm explicitly: Theorem 3. A pure state input maximizes a type-II quantity. From d 2 linearly independent test inputs, record the initial Bloch matrix B, construct the thermodynamic operator X , and record the time-evolved test states (ρ Theorem 3. A pure state input maximizes a type-II quantity. . Choose the initial density matrix to be ρ 0 = argmax ρ0 tr(ρ 0 X ), which will be updated iteratively. Theorem 3. A pure state input maximizes a type-II quantity. At each iterative step k: Theorem 3. A pure state input maximizes a type-II quantity. 2. Determine the ascent directionn = σmax−ρ0 σmax−ρ0 , with σ max = |ψ ψ| ψ|ψ , from the maximal-eigenvalue eigenstate |ψ of the Hermitian operator ∇f Theorem 3. A pure state input maximizes a type-II quantity. 3. Update the initial state ρ 0 to approach argmax ρ0 f (X ) ρ0 , according to: Theorem 3. A pure state input maximizes a type-II quantity. where a k is a small positive value that diminishes with large k. Theorem 3. A pure state input maximizes a type-II quantity. In the limit of many iterations, the algorithm converges towards a local maximum of f (X ) ρ0 . B. Overwriting processes Overwriting processes-processes that overwrite the physical state of the system-are an important class of processes including memory reset, state preparation, work extraction, and processes that lead to either equilibrium or nonequilibrium steady states. We find that their thermodynamically ideal inputs can all be found directly and analytically. B. Overwriting processes For reliable overwriting processes, for which the final state r τ is very nearly independent of the input, S(ρ τ ) = S(r τ ) will effectively be a constant. In this case, as shown in App. D, f B. Overwriting processes can be expressed as f B. Overwriting processes ρ0 . It is worth noting that, if X is a bounded finite-dimensional operator, ω (X ) has full rank. Physically, this tells us that ω (X ) is a non-pure mixed state. Theorem 4. For any overwriting process, the expectation value of any type-II quantity The corresponding minimal value is X ω (X ) = pS(r τ ) − p ln[tr(e −X )], where r τ is the input-independent final state of the overwriting process. Theorem 4. For any overwriting process, the expectation value of any type-II quantity Recall that the thermodynamic operator can be expressed as X = X I/d I + x · Γ/η. In terms of the thermodynamic vector x, we find that Theorem 4. For any overwriting process, the expectation value of any type-II quantity For a qubit in the standard Pauli-matrix basis Γ = σ/2, this further reduces to Theorem 4. For any overwriting process, the expectation value of any type-II quantity Intuitively, Eq. (34) tells us that the minimizing Bloch vector a * = − tanh(x)x points in the opposite direction of the thermodynamic vector x to reduce entropy flow or promote energy gain, as the case may be. However, this tendency to reduce heat or increase energy is balanced against the entropy gain incurred when tarnishing a pure state. As the magnitude of the thermodynamic vector x grows beyond unity, the minimizing Bloch vector converges exponentially to the edge of the Bloch sphere. For example, for any reliable overwriting process operating on a qubit, this tells us that the unique initial state leading to minimal entropy production is I/2 −φ · σ 2 tanh ϕ, in agreement 4 with Ref. [3,Eq. (25)] obtained by different means. Whereas Ref. [3] identified the initial state of a qubit that would lead to minimal entropy production during any qubit-reset process, the current result provides a significant generalization. We now identify the ideal input to any overwriting process in any finite dimension for any type-II objective, including maximizing free-energy gain. While the initial states leading to minimal entropy production or maximal gain in free energy are non-trivial mixed states, the input leading to the largest reduction in entropy is always the same for any overwriting process. Notice that the largest reduction in entropy is achieved by the fully mixed input state ω (0) = I/d for any overwriting process in any dimension d. We have so far found the ideal inputs to minimize the expectation values of type-II quantities during an overwriting process-for example, the inputs leading to minimal entropy production or maximal increase in nonequilibrium free energy. It is just as natural and important to ask: Which inputs maximize the expectation values of type-II quantities, leading, e.g., to maximal entropy production or the biggest reduction in nonequilibrium free energy? Since S(ρ τ ) = S(r τ ) is independent of the input to an overwriting process, maximizing f (X ) ρ0 = tr(ρ 0 X ) + S(ρ τ ) − S(ρ 0 ) asks us to simultaneously minimize S(ρ 0 ) and maximize tr(ρ 0 X ). Notice that S(ρ 0 ) is minimized for any pure state, whereas tr(ρ 0 X ) is maximized by some pure state, according to Thm. 1. Accordingly, the two objectives can be simultaneously satisfied by identifying the pure state that maximizes tr(ρ 0 X ). We thus inherit an answer from Thm. 1, when seeking to maximize the expectation value of a type-II quantity. Theorem 4. For any overwriting process, the expectation value of any type-II quantity Theorem 5. For any overwriting process, the expectation value of any type-II quantity X ρ0 = pf Theorem 4. For any overwriting process, the expectation value of any type-II quantity is maximized by a pure-state input that maximizes tr(ρ 0 X ). This is satisfied by any eigenstate of X with maximal eigenvalue. Theorem 4. For any overwriting process, the expectation value of any type-II quantity For example, for any overwriting process, the input that maximizes entropy production is the pure state that maximizes entropy flow, which is an eigenstate of the expected-entropy-flow operator Φ with maximal eigenvalue. Similarly, the biggest reduction in nonequilibrium free energy will be achieved for any overwriting process from the pure-state input that maximizes the reduction in energy, which is an eigenstate of the change-of-energy operator Q + W with minimal eigenvalue. C. Perturbative correction to type-II minimizers Here we find a closed-form expression for the approximate minimizer of any type-II functional-e.g., the input state that minimizes entropy production or maximizes the change in nonequilibrium free energy-for any process, via a second-order expansion of the type-II functional around a reference state. This method becomes exact in the limit that the true minimizer is a small perturbation from the reference state-e.g., in the case of small changes to a protocol with known minimizer. To obtain our result, we minimize f (X ) ρ0 over the space of valid generalized Bloch vectors. It is convenient to introduce the functionρ withρ( b) = I/d + b · Γ which maps Bloch vectors to their corresponding density matrices, and the functionρ withρ ( b) = Γ 0 + b · Γ which maps initial Bloch vectors (at time 0) to their corresponding time-evolved density matrices at time τ . To simplify notation, we introduce the functionf such thatf C. Perturbative correction to type-II minimizers We seek the optimal b * = argmin bf ( b) in the perturbative regime, where the optimalρ( b * ) is a small perturbation away from some reference initial stateρ( π). For instance,f may represent entropy production andρ( π) may be an initial equilibrium state such thatρ( b * ) ≈ρ( π) in the limit of slow time-dependent driving. Assume that the density matrix ρ( π) is positive definite. By continuity, for any b sufficiently close to π,ρ( b) is also positive definite and therefore a valid density matrix. 5 Now expandf to second order in : C. Perturbative correction to type-II minimizers where j is the gradient vector and H is the Hessian matrix off evaluated at π. The elements of the gradient vector are given by C. Perturbative correction to type-II minimizers The elements of the Hessian matrix are H m,n = (∂ bm ∂ bn f )| π . The Hessian follows by considering the second derivatives of the von Neumann entropy, which we calculate in App. H to find C. Perturbative correction to type-II minimizers where we used the eigendecompositionρ( π) = k ν k |k k| and defined φ(a, b) := ln a−ln b a−b (with φ(a, a) = 1/a by continuity), which is the reciprocal of the logarithmic mean. We note that this second-order expansion has some resemblance to the Kubo-Mori-Bogoliubov metric of quantum-information geometry [17]. We derive a similar expression for ∂ bm ∂ bn S(ρ ), which gives the following form for the matrix elements of the Hessian: C. Perturbative correction to type-II minimizers where we used the eigendecompositionρ ( π) = k ν k |k k |. Note that H is positive semi-definite sincef is a convex function. For simplicity, assume for now thatf is strictly convex, in which case H is positive definite and has an inverse H −1 . (We give the generalization later.) Finally, we minimize Eq. (35) in closed form. First, complete the square to write C. Perturbative correction to type-II minimizers where the last inequality is achieved by setting * = −H −1 j. This implies that in the perturbative regime, the optimal state is given byρ C. Perturbative correction to type-II minimizers which achieves the optimal value C. Perturbative correction to type-II minimizers The above expressions for the optimal state generalize to allow for a singular Hessian if we replace H −1 with the Drazin inverse H D (or the group inverse, since we can diagonalize the Hessian) [18]. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE It will often be useful to know the ideal input to a device, within a restricted subspace of possible inputs. For example, when operating on a system with a countably infinite number of energy eigenstates, we may care about inputs with non-zero probability amplitude only in the lowest N energy eigenstates, for some finite N . Or, we may be interested in the best classical inputs to a device, when coherent states cannot be readily prepared. In such cases, we can find the thermodynamically ideal input to the transformation within this finite-dimensional subspace via a very straightforward adaptation of the above techniques. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE Let P P be the convex subspace of the system's possible density matrices P, induced by the set of orthogonal projectors IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE Density matrices in this subspace act on a d P -dimensional vector space V P , where d P = Π∈P tr(Π). The identity operator on V P is given by I P = Π∈P Π. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE Each projector Π j ∈ P has an associated dimension d j = tr(Π j ). The restricted subspace P P is spanned by a basis of L linearly independent density matrices, where L = |P | j=1 d 2 j . In general, d P ≤ L ≤ d 2 P . By creating an appropriate operator basis and generalized Bloch vector for initial density matrices restricted to P P , we can easily adapt and leverage all results of previous sections in this restricted setting. To achieve this, the following development closely parallels the previous introduction of generalized Bloch vectors. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE When the initial density matrix ρ 0 is restricted to P P , it is useful to choose a complete basis (I P /d P , Γ 1 , Γ 2 , . . . Γ L−1 ) for linear operators acting on V P , such that the Hermitian operators Γ n are all traceless and mutually orthogonal, satisfying tr(Γ n ) = 0 and tr(Γ m Γ n ) = η P δ m,n , where we will choose the normalizing constant to be η P = d P −1 d P . Any initial density matrix then has a unique decomposition in the operator basis Γ P = (Γ 1 , Γ 2 , . . . Γ L−1 ), described by the generalized Bloch vector b 0 ∈ R L−1 via IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE Since the magnitude of the Bloch vector IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE , the density matrix represents a pure state iff the magnitude of its corresponding Bloch vector is one. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE For concreteness, we can choose the ordered operator basis to begin with a scaled ordering of the d P diagonal generalized Gell-Mann matrices, followed by d j (d j − 1)/2 non-diagonal symmetric Gell-Mann matrices and d j (d j − 1)/2 antisymmetric Gell-Mann matrices for each projector Π j ∈ P with d j > 1. Recall that these matrices are given explicitly in App. E. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE It is now productive to consider the restriction of a thermodynamic operator to this subspace X P := Π∈P ΠX Π. It is easy to check that the expectation value for any type-I thermodynamic quantity satisfies tr(ρ 0 X P ) = tr(ρ 0 X ) = X ρ0 for all ρ 0 ∈ P P . IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE Notably, X P can be constructed directly, just as X was in the previous sections-but now in the finite-dimensional restricted subspace P P , using the operator basis Γ P , generalized Bloch vector, and thermodynamic operator x P associated with this restricted subspace. For general processes, the thermodynamic operator restricted to this subspace is constructed as IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE The thermodynamically ideal inputs within the subspace of interest are constructed just as before, with the extremal eigenvalues and associated eigenstates of X P playing the special role indicated in Theorems 1 and 5. For overwriting processes, the minimal value of type-II quantities is achieved within subspace P P by ω (X P ) = e −X P /tr(e −X P ) = e − x P · Γ P /η P /tr(e − x P · Γ P /η P ), which extends an analogous result of Ref. [4] that was formulated for the case of entropy production. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE It is interesting to note that these methods-restricting to the d P -dimensional subspace-work even though the states are not restricted to this subspace during their evolution. Indeed, the protocol can spread these initially-restricted inputs across infinite dimensions, but our finite-dimensional inference of the ideal input within this initial subspace remains valid. IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE To pursue the example of inputs with support restricted to the N lowest-energy eigenstates {|E n } N n=1 of some initial system Hamiltonian H 0 , we would consider the density matrices with support on the system's Hilbert subspace: H sub = span {|E n } N n=1 . I.e., we would consider the restricted set of initial density matrices P sub = ρ = p |ψ ψ | ψ |ψ : p ∈ (0, 1], p = 1, |ψ ∈ H sub , which is induced by the single rank-N projector Π = N n=1 |E n E n |. Within this subspace, there are L = d 2 {Π} = N 2 linearly independent initial states (compared to the d 2 = ∞ linearly independent initial states within the full Hilbert space). A. Classical systems If we define classical inputs as those states restricted to be initially incoherent in a particular 'classical' orthonormal basis C, then we can see how the general quantum problem simplifies significantly, if we seek the classical thermodynamic operators and ideal classical inputs. Classical density matrices are those induced by the set of orthonormal rank-1 projectors P = {|b b|} b∈C . Classical density matrices are diagonal in the classical basis, and can be regarded as a representation of a probability distribution over these classical states. Note that for d-dimensional systems, there are only L = d linearly independent classical density matrices, in contrast to the d 2 linearly independent quantum density matrices over the same space. Accordingly, each classical thermodynamic vector has d − 1 components, rather than the d 2 − 1 components of its quantum counterpart. Similarly, each classical thermodynamic operator will be fully determined by the behavior of d, rather than d 2 , initial states. X. EXAMPLE 1: NONEQUILIBRIUM THERMODYNAMICS OF A QUBIT-RESET DEVICE Quantum computing requires a mechanism for resetting each qubit to the computational-basis state |0 = σ z |0 . Different implementations of the same task will however have distinct sets of thermodynamically ideal inputs. Nonequilibrium thermodynamic quantities are determined less by what you do than how you do it. X. EXAMPLE 1: NONEQUILIBRIUM THERMODYNAMICS OF A QUBIT-RESET DEVICE For a paradigmatic illustration of our results, we consider the same device for qubit reset that was used in Ref. [3] to generate Ref. [3]'s Fig. 1. The device works by changing both the energy gap and spatial orientation of the energy eigenstates of the qubit, while the qubit is weakly coupled to a thermal environment. The detailed dynamical equations are reviewed in App. I, but these details are not central to the main points we make here. X. EXAMPLE 1: NONEQUILIBRIUM THERMODYNAMICS OF A QUBIT-RESET DEVICE To determine how the device's thermodynamic behavior depends on the input state, we track the evolution of four randomly sampled initial density matrices, together with the thermodynamic output from each of these four inputs. From the Bloch matrix B and the measured thermodynamic output, we construct the Hermitian thermodynamic operators. For example, the expected-heat and expected-work operators, Q and W, allow us to determine (i) the ideal inputs leading to minimal and maximal heat and work, and (ii) the full range of heat and work that can be attained by any input to the device. These are obtained from the extremal eigenvalues and associated eigenstates of the thermodynamic operators. A. Diversity among ideal inputs for thermodynamic objectives Simple combination and manipulation of the heat and work operators reveals the diversity of ideal inputs for a multitude of different thermodynamic objectives, as shown in Fig. 1. A. Diversity among ideal inputs for thermodynamic objectives In the figures, we emphasize the heat exhausted to the environment −Q, rather than the heat Q directly. In this example, with a single environmental bath at constant temperature T , note that entropy flow to the environment is simply related to heat out of the system via Φ = −Q/T . The expected-entropy-flow operator is thus simply related to the expected-heat operator in this case, via Φ = −Q/T . Meanwhile, the expected-energy-change operator is simply Q + W. Minimal entropy production and maximal free energy gain are achieved by non-trivial mixed-state inputs. The change in entropy is minimized by the fully-mixed input. Entropy production is maximized by the same pure-state input that maximizes heat exhaustion. The greatest loss of free energy occurs for the same pure-state input that loses the most energy. B. Bounding the behavior of all inputs Continuing our example of the qubit-reset dynamics, we now leverage our results to identify the extremal thermodynamic behavior that can be attained by any input throughout the process. Fig. 2 demonstrates that thermodynamic observations from just four inputs yield the full range of thermodynamic behavior from any input. For example, the min and max expected work at any time t ∈ [0, τ ], obtainable from alternative inputs, is determined by the expected-work operator at that time. The expected-work operator at any time is constructed from the expected work performed on each of the four test inputs up to that time. Determining the ranges of work, energy change, and heat thus reduces to determining eigenvalue ranges of the respective Hermitian operators. B. Bounding the behavior of all inputs Determining the range of entropy production throughout the process is somewhat more complicated, although it still only requires the data from four test inputs. Notably, in the bottom panel of Fig. 2, we find the states of minimal and maximal entropy production at times before the state is fully reset. This employs the gradient-descent algorithm developed in Sec. VIII A. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE Let us now turn to the analysis of an infinite-dimensional quantum system: a charged particle in a time-dependent potential, in the presence of electromagnetic background radiation. This can be interpreted as an idealized model of a double quantum dot in the single-particle zero-current regime. In this example, we use time-dependent Lindbladian dynamics, with a time-modulated double-well of potential energy across one spatial dimension. The protocol is capable of extracting work from some states that are initially localized in the right well. We consider the ideal input (for the task of work extraction), and how it compares to the performance of other inputs, within the Hilbert space spanned by the eight lowest lying energy eigenstates of the initial Hamiltonian. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE We will quantify work extraction simply as the negative work performed. In principle, this work can be extracted by a more explicit mechanism, like proposed in Ref. [19]. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE Given any protocol for work extraction, we can construct the expected-work operator to determine its breadth of behavior on all possible inputs. The device will be best at extracting work from the lowest lying eigenstate of the expected-work operator; the corresponding minimal-eigenvalue magnitude reports the maximal possible expected value of extractable work. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE In particular, we simulate a work-extraction protocol via the time-dependent system Hamiltonian H t = XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE is the momentum operator and m is the mass of the single-particle system. The time-dependent potential-energy landscape is XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE where g t and f t are non-negative scalar functions of time, with g 0 = g τ = 1 and f 0 = f τ = 0. To enter an interesting thermodynamic regime, we choose the initial energy barrier between the two wells to be h 0 = 8k B T , where k B T = 1/β is the thermal energy of the environment. To enter an interesting quantum regime, we choose the initial separation between the bottom of the two wells to be w 0 = 3λ th , where λ th = 2πβ/m is the thermal de Broglie wavelength. To induce nonequilibrium quantum dynamics, we choose a sufficiently fast protocol. Energy /(k B T ) XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE x/λ th XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE 3. Control protocol to extract work from the nonequilibrium state of a particle on the right-hand side of a double-well potential, via a time-varying one-dimensional potential-energy landscape in the quantum regime. Middle and bottom panel show the protocol for tilting the potential and lowering the energetic barrier, respectively. The top panels show the potential-energy landscape at five representative times along the protocol, staggered so that they share the same energy axis. We show a spatial representation of the lowest-lying energy eigenstates in these potentials, at the height of their respective energy eigenvalues. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE As depicted in Fig. 3, g t controls the height of the barrier while f t controls the tilt of the energetic landscape throughout the protocol. For a semiconductor-based double quantum dot, the barrier height and tilt could plausibly be modulated by applied voltages, gating the barrier and the bias across the device, respectively [20]. Note that the protocol is cyclic, since the initial and final Hamiltonian are both the same symmetric double-well potential. During the protocol, the potential is tilted to the right, the barrier is lowered, the potential is untilted, and the barrier is then reintroduced, in that order. 6 The exact form of the control protocol is given in App. J. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE The system is coupled to a thermal environment throughout the protocol. For our demonstration, we model the excitation and relaxation dynamics when the system interacts with the photon bath of an ideal blackbody at temperature T . The resulting dynamics of the system during the protocol can be described by a Lindblad master equationρ t = L t (ρ t ), given explicitly in App. J, which satisfies detailed balance in bath-mediated transitions between instantaneous energy eigenstates. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE We simulate a regime that could plausibly be demonstrated in a room-temperature laboratory experiment using a nanofabricated device. The resulting dynamics exhibits a separation of timescales, where the relaxation dynamics are much slower than the timescale of coherent oscillations between energy eigenstates. (Dissipative transitions occur approximately only once per 100 million periods of phase oscillation between energy levels with a k B T energy spacing.) We develop special methods to efficiently simulate the quantum dynamics (App. J 1) and thermodynamics (App. J 2) over the extended duration τ = 4 × 10 9 β ≈ 100 µs of the nonequilibrium protocol. XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE Which initial state yields the most extracted work given this protocol? To determine this, we construct the expectedwork operator W acting on the Hilbert space spanned by the eight lowest lying initial energy eigenstates, via simulating the behavior of 64 random linearly independent initial states within this subspace. In our simulations, these initially restricted states evolve through the Hilbert space spanned by the twenty lowest lying instantaneous energy eigenstates throughout the protocol. δx | x, x + δx|v | 2 for the eigenstates |v of the expected-work operator W, offset by the corresponding work eigenvalue w, such that W |v = w |v . Fig. 4 depicts the eigenvalues and eigenstates of the expected-work operator, via their spatial probability density functions. Two eigenmodes of the expected-work operator allow for work extraction, while the other six modes require a work investment. As one might expect, the ideal initial state leading to maximal work extraction is initially localized in the right well. This state is approximately formed from equal parts of the two lowest lying energy eigenstates. It is also intuitive that the worst input begins purely in the left well. The remaining six non-extremal eigenstates of the expected-work operator are less immediately intuitive-yet they yield interesting insights once properly understood. As suggested by the spatial probability density functions in Fig. 4, each work-eigenstate is approximately a linear combination of up-to-two energy eigenstates (although in detail they contain contributions from all). Some investigation revealed that each work eigenstate roughly corresponds to a relative phase combination of energy eigenstates that leaves the particle either mostly in the right well (for small eigenwork) or mostly in the left well (for large eigenwork) during the first half of the protocol. Fig. 4 displays some kind of symmetry in the vertical spacing of work eigenvalues that could likely be related to fluctuation relations, although that investigation remains an open opportunity. The ideal input to this particular work-extraction protocol yields approximately 0.3472 k B T of extracted work ( W = −0.3472 k B T ), which is about half of the nonequilibrium addition to free energy (≈ k B T ln 2) available from that initial state. This work-extraction value was initially found via the minimal eigenvalue of the expected-work operator, and subsequently verified via direct simulation of this ideal input. The spatial evolution of this ideal state, and the corresponding work trajectory are shown in the bottom half of Fig. 5. There it is apparent that the ideal state remains on the right well for the first half of the work-extraction protocol. For comparison, the top half of Fig. 5 shows the spatial evolution and corresponding work trajectory of a random input (in particular, we chose one of the initial energy eigenstates). No work is extracted when operating on this state; rather, about 4.138 k B T of work must be expended in the process. We verified that this same work value is obtained (through ten significant digits) both from the full simulation and from the simple algebraic employment of the expected-work operator 7 : tr(ρ 0 W) ≈ 4.138 k B T . The series of panels in the top half of Fig. 5 reveals the work penalty for populating the left well during the first half of the protocol. The chronologically second snapshot reveals a slow local equilibration within each well. Subsequent snapshots reveal an even slower tendency towards global equilibration throughout the protocol. As anticipated by the general theory, the initial state leading to maximal work extraction is a pure state. In this case, this state is close to, but distinct from, the input leading to minimal entropy production-the latter of which is a non-pure mixed state. As a final note, we emphasize that we've been able to identify the ideal input within the initial low-energy subspace, although the evolving states were not limited to this subspace during their natural dynamics. Top and bottom panels show spatial probability density of the state in thick solid blue, compared to the probability density for the instantaneous equilibrium state in thin dashed green; the instantaneous potential-energy landscape, which starts and ends as a symmetric double well, is shown in thin solid gray. The two long middle panels show the time evolution of the expected work from each of these two initial states. XII. CONCLUSION We have determined the ideal inputs that minimize or maximize various thermodynamic quantities for any fixed process that transforms a physical system in finite time. Many of these optimal inputs turn out to be pure states corresponding to eigenstates of Hermitian thermodynamic operators. We showed how to reconstruct these operators via observed behavior from a finite number of experimentally accessible input states. Another class of thermodynamic quantities, based on entropies, have mixed-state minimizers but pure-state maximizers. The Hermitian thermodynamic operators determine these ideal states too. Our examples illustrate the incompatibility of common objectives: The 'ideal' input depends on whether one intends to minimize heat, minimize entropy production, maximize free-energy gain, maximize work extraction, etc. This investigation of ideal initial states complements the centuries-old tradition of rather seeking ideal protocols with an assumed initial state. Whether or not a protocol is ideal, our results highlight the initial-state dependence of a device's performance across thermodynamic metrics, and expose the breadth of its possible behavior. While we emphasized thermodynamics, the results of this paper extend easily to other domains-where the ideal inputs, as judged by some other criteria, like maximizing the yield of a desired output state [21], will be obtained from the linear operators induced by those criteria. where π env t is assumed to be independent of ρ 0 . If we write outρ env t more explicitly, we find that XII. CONCLUSION Hence, we've found the relevant linear superoperator XII. CONCLUSION dt, which is somewhat complicated. No matter: Its mere existence proves the existence of some simpler linear operator Φ such that Φ ρ0 = tr(ρ 0 Φ) for any initial state ρ 0 . XII. CONCLUSION A similar procedure reveals the existence of the relevant linear superoperator Ξ(·) for work and heat, which in turn implies the existence of the simpler expected-work operator W and expected-heat operator Q. XII. CONCLUSION Expanding the expression for expected work, we find XII. CONCLUSION Hence, the linear superoperator Ξ W (·) = τ 0 tr env (U t · ⊗ρ env 0 U † t )Ḣ t dt implies the existence of the simpler expected-work operator W. XII. CONCLUSION Expanding the expression for expected heat, we find XII. CONCLUSION Hence, the linear superoperator Ξ Q (·) = τ 0 d dt tr env (U t · ⊗ρ env 0 U † t ) H t dt implies the existence of the simpler expectedheat operator Q. Appendix B: Thermodynamic operators characterize any measurement scheme Invasive measurements change not only the probability distribution for work, but also the expected value for work under the prescribed measurement protocol [7]. Our framework applies just as well to these alternative protocols with measurement interventions. For example, let us briefly describe how our framework applies to the famous two-pointmeasurement (TPM) scheme for driven isolated quantum systems, which projects the state onto the instantaneous energy eigenbasis at both the beginning and end of the protocol [8]. Appendix B: Thermodynamic operators characterize any measurement scheme If we are interested in the TPM scheme for a driven isolated quantum system, the relevant expected-TPM-work operator is Appendix B: Thermodynamic operators characterize any measurement scheme where H and H are the initial and final Hamiltonians for the system respectively, and U τ unitarily evolves the system between the two projective measurements. In the TPM scheme, the system transitions from initial energy eigenstate |E to final energy eigenstate |E with probability E|ρ 0 |E E |U τ |E 2 , resulting in a TPM work value of E − E. Appendix B: Thermodynamic operators characterize any measurement scheme It is easy to verify that Appendix B: Thermodynamic operators characterize any measurement scheme where W TPM is the random variable for the TPM work outcome, and the sum runs over all w ∈ {E − E : E ∈ Λ H , E ∈ Λ H }. Appendix B: Thermodynamic operators characterize any measurement scheme Ref. [7] shows that W = W TPM . Invasive measurements can change the expectation value for work (and indeed for other thermodynamic variables too). If desired, our framework can be employed to find the ideal inputs leading to minimal or maximal TPM work, from the minimal and maximal eigenstates of W TPM . Indeed, for any measurement scheme-including also the one-time-measurement scheme [9][10][11] or any other-thermodynamic operators can be constructed, and our framework can be applied to identify both the breadth of behavior and the ideal inputs within the scheme. Appendix C: Expectation-value invariance to subensemble decomposition Our contributions in the main text exclusively involve expectation values, so are invariant to density-matrix decompositions. Here we show this invariance explicitly. As an added benefit, it can be useful to see how the quantum random variables induced by a subensemble decomposition relate to and generalize their classical counterparts. Appendix C: Expectation-value invariance to subensemble decomposition In the classical case, fluctuations are primarily due to subjective uncertainty about which state the environment is in (although uncertainty of the system state also plays a role). Since quantum results should include classical results as a special case, we must also consider the role of subjective uncertainty in the quantum case. In general, this can be addressed via a probability distribution over (possibly nonorthogonal) subensembles of the joint system-environment supersystem [12]. There are many ways to decompose the initial joint density matrix of the system-environment supersystem. In fact for a non-pure mixed state ρ tot 0 , there are infinitely many pairs (p n ) n , (σ n ) n of probability distributions (p n ) n over constituent density matrices (σ n ) n , for which ρ tot 0 = n σ n p n . Each of these decompositions can represent a physically relevant preparation of the supersystem [12,22]. Each subensemble decomposition (p n ) n , (σ n ) n induces a random variable X (p n ) n , (σ n ) n . 8 With probability p n , the subensemble σ n will be realized, in which case the random variable X takes on the value x(σ n ). When the thermodynamic quantity is a linear functional of the initial state-as is the case for work, heat, entropy flow, etc.-it's easy to see that Appendix C: Expectation-value invariance to subensemble decomposition independent of the decomposition. In the main text, we always consider ρ tot 0 = ρ 0 ⊗ ρ env 0 for a fixed initial state of the environment ρ env 0 . For these thermodynamic linear functionals, we thus use the shorthand notation Appendix C: Expectation-value invariance to subensemble decomposition As a consequence, the expectation value X ρ0 and thermodynamic operator X are both invariant to subensemble decompositions. Let's take thermodynamic work (without measurement interventions) as an example. From Eq. (A8), we see that work can be quantified for any initial joint state σ of the supersystem via Appendix C: Expectation-value invariance to subensemble decomposition If the system and environment are unmeasured, then it is natural for eigenvalues of the uncorrelated density matrix to represent subjective uncertainty. We can thus take (p n ) n , |n n| as our subensemble decomposition, where |n is an eigenstate of ρ tot 0 . In this case, work will be a random variable W which takes on the value w (n) = w |n n| with probability m p m δ w (m) ,w (n) . We can then write Appendix C: Expectation-value invariance to subensemble decomposition We see that the expectation value and the thermodynamic operator are both independent of the chosen subensemble decomposition. Appendix D: Operator expressions for type-II expectation values The expectation values of entropy production, the reduction in nonequilibrium free energy, and the change in von Neumann entropy can all be written as: Appendix D: Operator expressions for type-II expectation values where ω := e −X /tr(e −X ). Appendix D: Operator expressions for type-II expectation values For reliable reset processes, for which ρ τ ≈ r τ is very nearly independent of the input, it is clear that ω minimizes f (X ) ρ0 , where it takes on the minimal value f Appendix D: Operator expressions for type-II expectation values Ref. [4] pointed out that entropy production can be written in this form. Here we notice that this type of relation applies also to a larger family of thermodynamic quantities. Appendix E: Generalized Gell-Mann matrices as a standard operator basis For concreteness, we will describe an operator basis that can be used in any finite dimension d. Appendix E: Generalized Gell-Mann matrices as a standard operator basis Let |1 , . . . , |d be an orthonormal basis for the d-dimensional Hilbert space of our system under study. We can then construct the generalized Gell-Mann matrices to complete a matrix basis for density matrices acting on this Hilbert space. Appendix E: Generalized Gell-Mann matrices as a standard operator basis Let n ∈ R be any convenient constant. Γ will contain d − 1 diagonal matrices Appendix E: Generalized Gell-Mann matrices as a standard operator basis with ∈ {1, . . . , d − 1}. It will contain (d 2 − d)/2 distinct non-diagonal symmetric matrices n |k j| + |j k| , Appendix E: Generalized Gell-Mann matrices as a standard operator basis with 1 ≤ j < k ≤ d. It will also contain (d 2 − d)/2 distinct antisymmetric matrices Appendix E: Generalized Gell-Mann matrices as a standard operator basis with 1 ≤ j < k ≤ d. The ordering of these d 2 − 1 matrices is arbitrary. Appendix E: Generalized Gell-Mann matrices as a standard operator basis Notice that these operators are traceless and satisfy tr(Γ m Γ n ) = 2n 2 δ m,n . Hence, η = 2n 2 . If we choose n = d−1 2d , then η = d−1 d , pure states will always have a generalized Bloch vector of unit length, 9 and the generalized Bloch vector will reduce to the standard Bloch vector in d = 2. Appendix E: Generalized Gell-Mann matrices as a standard operator basis where the new composite operator basis contains This allows us, for example, to build up a normalized Hermitian operator basis for • many qubits, using tensor products of the local Pauli operators, or Appendix E: Generalized Gell-Mann matrices as a standard operator basis • a qubit and qutrit, using tensor products of their local Pauli and Gell-Mann operators, Appendix E: Generalized Gell-Mann matrices as a standard operator basis • etc. Appendix G: Existence of, and expression for, the entropy-flow vector Leveraging the decomposition of the system state in terms of its generalized Bloch vector, ρ t = I/d + b t · Γ, we can expand the general expression for entropy flow given in Ref. [3] and discussed in the main text, to express entropy flow in terms of the entropy-flow vector and initial Bloch vector: Appendix G: Existence of, and expression for, the entropy-flow vector Other thermodynamic quantities can be decomposed similarly. Appendix G: Existence of, and expression for, the entropy-flow vector finite-time protocol, from time 0 through τ = 50β , the time-varying Hamiltonian is Appendix G: Existence of, and expression for, the entropy-flow vector with E t = k B T [1 + 49 sin 2 πt 100β ]/5 and θ t = πt/(50β ). While E t quantifies the energy gap between the system's instantaneous energy eigenstates, θ t parametrizes the instantaneous orientation of the energy eigenbasis relative to the 'computational' z-basis. The dynamics are well-described by a time-dependent quantum master equatioṅ Appendix G: Existence of, and expression for, the entropy-flow vector where D[L](ρ) = LρL † − 1 2 {L † L, ρ}, N xt = (e βEt − 1) −1 , and c = 1/5 is the coupling strength to the bath. The time-dependent lowering operator can be represented as Appendix G: Existence of, and expression for, the entropy-flow vector and satisfies the detailed balance condition [L xt , H xt ] = E t L xt [23,24]. Transitions thus occur between instantaneous energy eigenstates of the system. In particular, D[L xt ](ρ t ) takes the excited population and shifts it to the ground state, while D[L † xt ](ρ t ) takes the ground-state population and shifts it to the excited state. Moreover, the ratio of transition rates between the excited and ground-state populations satisfies detailed balance since (N xt + 1)/N xt = e βEt . Appendix J: Time-dependent double-well dynamics Here we construct a simple model for the dynamics of a non-relativistic charged particle in a time-dependent double-well of potential energy across one spatial dimension while it is immersed in a bosonic bath at temperature T . The protocol is capable of extracting work from some states that are initially localized in the right well. Appendix J: Time-dependent double-well dynamics In particular, we simulate a work-extraction protocol via the time-dependent system Hamiltonian: Appendix J: Time-dependent double-well dynamics where p x = −i ∂ x is the momentum operator and m q is the mass of the system with charge q. The time-dependent potential-energy landscape is Appendix J: Time-dependent double-well dynamics where g t and f t are non-negative scalar functions of time, with g 0 = g τ = 1 and f 0 = f τ = 0. To enter an interesting thermodynamic regime, we choose the initial energy barrier between the two wells to be h 0 = 8k B T , where k B T = 1/β is the thermal energy of the environment. To enter an interesting quantum regime, we choose the initial separation between the bottom of the two wells to be w 0 = 3λ th , where λ th = 2πβ/m q is the thermal de Broglie wavelength. To induce nonequilibrium quantum dynamics, we choose a sufficiently fast protocol. g t controls the height of the barrier while f t controls the tilt of the energetic landscape throughout the protocol. During the protocol, the potential is tilted to the right, the barrier is lowered, the potential is untilted, and the barrier is then reintroduced, in that order. The exact form of the control protocol is given by the very fast timescale of β = 25.4 fs, and the relaxation dynamics occur at the much slower rate on the order of γ = 9.3 × 10 −9 /(β ) = 366 kHz. Quantum evolution with separation of timescales The factor k B /(m e c 2 ) = 1.69 × 10 −10 /K (in the dissipative γ term) induces a separation of timescales between the coherent dynamics and the consequently much slower relaxation dynamics. In particular if, over the timescale β , the Hamiltonian is approximately constant and the approximately-constant relaxation rates are very small (such that β r (m→n) 1), then it is useful to derive and employ the following discrete-time dynamics. Quantum evolution with separation of timescales It will be fruitful to write the full Lindblad superoperator of Eq. (J6) as Quantum evolution with separation of timescales where U = e −iHt/ and {·, ·} is the anticommutator. Quantum evolution with separation of timescales In our simulations, we restrict the dynamics at each time-step to the twenty lowest-lying instantaneous energy eigenstates, so that m and n in Eq. (J21) both range over these twenty states. To approximate the dynamics, we compound a sequence of many discrete steps-each of the form e (δt)Lt of Eq. (J21), but with each step using the instantaneous Lindblad superoperator L t induced by (i) the instantaneous energy eigenstates of the Hamiltonian H t and (ii) the instantaneous transition rates given by Eqs. (J12) and (J13). Quantum evolution with separation of timescales Recall that our simulations assume room temperature (300 K), and so transition rates are on the order of γ = 9.3 × 10 −9 /(β ) = 366 kHz. Accordingly, we take δt = 4 × 10 5 β ≈ 10 ns as the duration of each discrete time-step. 11 Each step of the discrete dynamic thus allows for many coherent oscillations with only perturbative decoherence. We choose the total duration of the protocol to be τ = 4 × 10 9 β ≈ 100 µs, which is long enough to allow for many transitions, yet short enough to keep the system away from equilibrium throughout the protocol. Work with separation of timescales Recall that the expectation value of work can be calculated as W ρ0 = τ 0 tr ρ tḢt dt. During a simulation, the integral is approximated numerically via breaking time into many bins, each much smaller than τ . In typical simulations, with N timesteps of duration τ = τ /N , the expected work can be approximated as [28] W ρ0 Work with separation of timescales which implicitly assumes that the density matrix does not change appreciably during the timestep. However, because of the separation of timescales in our simulations, the density matrix goes through many coherent oscillations (in the relative phase between energy eigenstates) during a single timestep. Accordingly, treating the density matrix as a constant during each timestep, as done in Eq. (J22) would not be appropriate in our situation. Rather-with N timesteps of duration τ = τ /N , and in a regime where the rate of change of the Hamiltonian is approximately constant throughout each timestep-the expected work is well approximated by As a first-order approximation to the time-averaged density matrix within a single timestep, we can assume that the system does not make any dissipative transition. In this case, e tL = e t(C+D) ≈ e tC , and the time-averaged density matrix will be well approximated by: Work with separation of timescales where we have used the shorthand ω = (E − E)/ . Notice that energetic coherences get averaged out via a decaying envelope with magnitude 2/(ωτ ).

섹션 본문 186문단 · 65,244자

(제목 없음)

1We investigate and ascertain the ideal inputs to any finite-time thermodynamic process. We demonstrate that the expectation values of entropy flow, heat, and work can all be determined via Hermitian observables of the initial state. These Hermitian operators encapsulate the breadth of behavior and the ideal inputs for common thermodynamic objectives. We show how to construct these Hermitian operators from measurements of thermodynamic output from a finite number of effectively arbitrary inputs. Behavior of a small number of test inputs thus determines the full range of thermodynamic behavior from all inputs. For any process, entropy flow, heat, and work can all be extremized by pure input states-eigenstates of the respective operators. In contrast, the input states that minimize entropy production or maximize the change in free energy are non-pure mixed states obtained from the operators as the solution of a convex optimization problem. To attain these, we provide an easily implementable gradient descent method on the manifold of density matrices, where an analytic solution yields a valid direction of descent at each iterative step. Ideal inputs within a limited domain, and their associated thermodynamic operators, are obtained with less effort. This allows analysis of ideal thermodynamic inputs within quantum subspaces of infinite-dimensional quantum systems; it also allows analysis of ideal inputs in the classical limit. Our examples illustrate the diversity of 'ideal' inputs: Distinct initial states minimize entropy production, extremize the change in free energy, and maximize work extraction.

2(Dated: May 2, 2023) We investigate and ascertain the ideal inputs to any finite-time thermodynamic process. We demonstrate that the expectation values of entropy flow, heat, and work can all be determined via Hermitian observables of the initial state. These Hermitian operators encapsulate the breadth of behavior and the ideal inputs for common thermodynamic objectives. We show how to construct these Hermitian operators from measurements of thermodynamic output from a finite number of effectively arbitrary inputs. Behavior of a small number of test inputs thus determines the full range of thermodynamic behavior from all inputs. For any process, entropy flow, heat, and work can all be extremized by pure input states-eigenstates of the respective operators. In contrast, the input states that minimize entropy production or maximize the change in free energy are non-pure mixed states obtained from the operators as the solution of a convex optimization problem. To attain these, we provide an easily implementable gradient descent method on the manifold of density matrices, where an analytic solution yields a valid direction of descent at each iterative step. Ideal inputs within a limited domain, and their associated thermodynamic operators, are obtained with less effort. This allows analysis of ideal thermodynamic inputs within quantum subspaces of infinite-dimensional quantum systems; it also allows analysis of ideal inputs in the classical limit. Our examples illustrate the diversity of 'ideal' inputs: Distinct initial states minimize entropy production, extremize the change in free energy, and maximize work extraction.

I. INTRODUCTION

3Throughout its history, thermodynamics primarily investigated the efficiency of various control processes for implementing a desired functionality. However, the complementary question of which initial physical states produce the best thermodynamic behavior remains relatively unexplored. Indeed, there is a historical reason for this: In equilibrium transformations, the system always stays infinitesimally close to equilibrium, so there is no sense in asking about alternative inputs to the process. Yet modern devices transform quantum and classical system rapidly. These finite-time nonequilibrium transformations have highly non-trivial initial-state dependence. Here we explore the ideal thermodynamic inputs to such devices, where the system can be arbitrarily far from equilibrium throughout the transformation.

4The initial-state dependence of entropy production and associated thermodynamic quantities has been explored only recently in relation to the ideal inputs, via mismatch costs [1][2][3][4]. However, the minimally dissipative input was only characterized in the case of reset processes [3,4] and, even then, a construction was only given for qubits [3]. In the following, we constructively identify the thermodynamically ideal inputs for a much broader class of objectives, including heat minimization, maximizing work extraction, and maximizing gain in free energy. Moreover, the ideal inputs are characterized and constructively identified for systems of arbitrary finite dimensions, for any finite-time process. The results apply to both quantum and classical systems. The results thus apply broadly, from biology to electronics to cosmology, wherever finite-time thermodynamics is relevant.

II. OVERVIEW OF FRAMEWORK

5It is often desirable for a physical device to implement a fixed transformation on arbitrary input. For example, in quantum technology, we often want to construct a device that implements a prescribed completely positive and trace preserving (CPTP) map. The device can achieve this via a time-dependent protocol that partially controls the system's Hamiltonian and its interactions with its environment. We assume that the control protocol and the initial state of the environment are fixed, while we are free to select the initial (mixed or pure) state of the system to input to our device. The initial joint state of the system-environment supersystem is then ρ tot 0 = ρ 0 ⊗ ρ env 0 . The joint system-baths supersystem evolves unitarily via U t , such that the joint state at any later time t is given as ρ tot t = U t ρ tot 0 U † t . The reduced states of the system and environment are given at any time by the appropriate partial trace of the joint state: ρ t = tr env (ρ tot t ) and ρ env t = tr sys (ρ tot t ). Any CPTP transformation of the system can be achieved this way. In the following sections, we will discover the thermodynamically ideal inputs to any such CPTP transformation. To achieve this, we first introduce thermodynamic operators in Sec. III, generalized Bloch vectors in Sec. IV, and thermodynamic vectors in Sec. V. We then show how to construct these thermodynamic vectors and operators from experimental observations in Sec. VI. This finally allows us to discuss and construct the thermodynamically ideal inputs in Secs. VII and VIII. Sec. IX shows how these results apply to restricted subspaces-which is important for understanding the classical limit, and for applying the results to low-energy subspaces of infinite-dimensional systems. Finally, the examples in Secs. X and XI illustrate physical implications of our results.

III. THERMODYNAMIC OPERATORS

6Thermodynamic quantities like work, heat, and entropy flow are notoriously path-dependent quantities. Even their average values depend on the time-dependent control protocol and the time-dependent density matrices of system and environment. For example, the expectation value of entropy flow can very generally be calculated as (2) and heat absorbed by the system

7are familiar centerpieces of the thermodynamic arsenal. In this path-dependent spirit, it has been famously emphasized that "work is not an observable" [5].

8It is therefore perhaps surprising that the expectation values of work, heat, and entropy flow can all be determined via Hermitian observables of the initial state. As we show in App. A, since the above expectation values are all linear functionals of the initial density matrix of the system, they can be expressed as

9where Φ, W, and Q are Hermitian operators, which we refer to as the expected-entropy-flow operator, expected-work operator, and expected-heat operator respectively. We will show that, for a general finite-time thermodynamic process, these thermodynamic operators can be constructed via experimental observations from a finite number of arbitrary inputs. The operators in turn reveal the special collection of initial states that minimize entropy flow, minimize heat, and maximize work extraction. The operators also allow direct calculation of thermodynamic expectation values from any initial state. The expressions in Eq. (4) all clearly take the form

10which we will study in general. We will say that a thermodynamic quantity is 'type-I' when its expectation value can be expressed as a linear functional of the initial state tr(ρ 0 X ), as in Eq. (5). As an added benefit of studying this general formulation, our methods can also be applied to reconstruct the Hamiltonian, the expected-change-of-energy operator, and infinitely many other linear operators that conform to this general linear structure for expectation values.

11If the expectation value is always real-valued, then X is guaranteed to be Hermitian (see Thm. 2.4.3 of Hassani [6]). It is known that invasive measurements can change the expected value of work and other thermodynamic variables [7]. We emphasize that different measurement schemes must be treated as distinct quantum processes, since each implies a unique sequence of dynamic interventions. Accordingly, each measurement scheme induces its own set of thermodynamic operators. For example, in App. B, we address the two-point measurements (TPM) scheme, and give an explicit construction of the expected-TPM-work operator W TPM , for which

12Indeed, for any measurement scheme-TPM [8], one-point measurement [9][10][11], or any other scheme-thermodynamic operators can be constructed, and our framework can be applied to identify both the breadth of behavior and the ideal inputs within the scheme.

13It is important to note that each of these thermodynamic operators X contain all information needed for expectation values of the relevant thermodynamic quantity X, but do not contain the information that would be needed for expectation values of functions of the thermodynamic quantity, like X 2 or e X . As a point of nomenclature, we note that this is not about whether the operators are 'observable', as has been suggested [5], but is rather an elementary fact about expectation values-X does not determine f (X) . The source of insufficiency is simple to see if we take work as an example: The full work distribution of a process, whether classical or quantum, has support on a space much larger than the dimension d of the system. Accordingly, the d eigenvalues of the thermodynamic operator cannot represent the full probability distribution of the thermodynamic quantity. 1 To address a final nuance, we note that a random variable X in the quantum domain may depend on further specification of subensembles, since a density matrix can be decomposed in many ways [12]. Nevertheless, as discussed in App. C, all decompositions of the initial density matrix lead to the same expectation value for a fixed quantum process. Accordingly, our notation " X ρ0 " unambiguously refers to the expectation value of the relevant thermodynamic quantity X for all possible decompositions of the quantum state. Despite these caveats, the thermodynamic operators serve immense utility. Their d eigenstates represent the only d features that influence the expected value of the thermodynamic variable. Once inferred for a process, the thermodynamic operators tell the full breadth of expected behavior from any input, and identify the unique pure states leading to extremal behavior. Moreover, the performance of any of the infinitely many possible inputs can be calculated simply and directly from the thermodynamic operator, without needing to run a new experiment each time.

IV. GENERALIZED BLOCH VECTOR

14We have promised that thermodynamic operators are the key to identifying thermodynamically ideal inputs to any process. It will be important then to be able to construct these operators. Our construction will lean on generalized Bloch vectors and related thermodynamic vectors, introduced in this and the next section respectively.

15It is well known that the state of a qubit ρ t can be expressed via its Bloch vector a t :

16where σ = (σ x , σ y , σ z ) is the vector of Pauli matrices. For a quantum system of arbitrary finite dimension-i.e., a qudit ρ t acting on a d-dimensional vector space V d -we achieve something similar via a slight adaptation of Ref. [13]. We choose any complete basis (I/d, Γ 1 , Γ 2 , . . . Γ d 2 −1 ) for linear operators acting on V d , such that the Hermitian operators Γ n are all traceless and mutually orthogonal, satisfying tr(Γ n ) = 0, and (8a)

17where we will choose the normalizing constant to be η = d−1 d . Any density matrix then has a unique decomposition in the operator basis Γ = (Γ 1 ,

18Since the magnitude of the Bloch vector is

19, the density matrix represents a pure state iff the magnitude of its corresponding Bloch vector is one. For d > 2, not all points in the Bloch ball correspond to physical states, but the set of all physical states is nevertheless a convex set-the convex hull of the pure states, which all lie on a 2(d − 1)-dimensional submanifold of the (d 2 − 2)-dimensional surface of the Bloch sphere [13].

20For concreteness, we can choose the ordered operator basis to be a scaled ordering of generalized Gell-Mann matricesthe generators of SU(d). See App. E for details. The standard Bloch vector is then recovered in the familiar two-dimensional case of a qubit, where then Γ = σ/2 = (σ x /2, σ y /2, σ z /2) and η = 1/2. Alternatively, App. F shows how to construct valid composite operator bases.

V. THERMODYNAMIC VECTORS

21Leveraging the general Bloch decomposition Eq. (9) of the initial state, we find that we can express each expectation value in Eq. (4) as

22where x ∈ R d 2 −1 is the relevant thermodynamic vector

23In particular, the thermodynamic vector could be the entropy-flow vector ϕ = tr( ΓΦ), the work vector w = tr( ΓW), or the heat vector q = tr( ΓQ).

24Conversely, the thermodynamic operators can be constructed from the thermodynamic vectors:

25Using Eqs. (8a) and (8b), it is easy to verify that Eq. (12) satisfies tr(ρ 0 X ) = X I/d + b 0 · x.

26In the next sections, we show how both X I/d and the thermodynamic vector x can be obtained linear algebraically from experimental measurements of thermodynamic output from a finite number of almost arbitrary inputs 2 . Via Eq. (12), this allows us to experimentally reconstruct the thermodynamic operators from observations of any process.

VI. CONSTRUCTING THERMODYNAMIC VECTORS AND OPERATORS FROM OBSERVATIONS

27Suppose an experimentalist has an apparatus to transform the state of a finite-dimensional quantum system. (We will address infinite-dimensional systems in Sec. IX.) This experimentalist measures the expectation value of the thermodynamic random variable X that results from each of d 2 linearly independent inputs to their device. I.e., they record the average quantity from each of the initial states (ρ

28. Note that the generalized Bloch vectors can be obtained as b

29Notice that the B matrix defined in Eq. (13) is invertible since the d 2 initial states are all linearly independent. Hence, with the d 2 measurements in hand and some simple linear algebra, we can find both (i) the expectation value from the reference input X I/d and (ii) the input-independent thermodynamic vector x:

30X I/d and x can now be used in Eq. (12) to construct the thermodynamic operator of interest: X = X I/d I + x · Γ/η. This constitutes a type of 'operator tomography', which is distinct but reminiscent of both quantum-state tomography and process tomography.

31We are now equipped to identify and construct the thermodynamically ideal inputs to any device.

VII. IDEAL INPUTS FOR TYPE-I OBJECTIVES

32Recall that a thermodynamic quantity is 'type-I' when its expectation value can be expressed as a linear functional of the initial state tr(ρ 0 X ). It is often desirable to minimize or maximize type-I quantities, e.g., to minimize heat or maximize work extraction. An immediate observation can be drawn from Eq. (5) for any finite-dimensional quantum system, by considering the spectral decomposition of the bounded operator X = d n=1 λ n |v n v n |, where Λ X = (λ n ) n is the tuple of X 's eigenvalues with corresponding eigenstates V X = (|v n ) n . Theorem 1. There is always a pure-state input that extremizes the expectation value of type-I quantities X ρ0 = tr(ρ 0 X ). This pure state corresponds to an eigenstate of the thermodynamic operator X with extremal eigenvalue.

33For example: there is always a pure-state input that minimizes heat; there is always a pure-state input that maximizes heat; there is always a pure-state input that minimizes entropy flow; and so on. The implications are important and somewhat surprising. For instance, consider the work extracted W extracted = −W during a finite-time cyclic work-extraction protocol from a finite-dimensional quantum system. Thm. 1 asserts that maximal work can be extracted from the pure-state input |w min ∈ argmin |v ∈V W v|W|v . 3 When the minimaleigenvalue eigenspace of W is degenerate, maximal work extraction can be achieved by both pure and mixed inputs.

34In contrast, as we will see later, the state that minimizes entropy production is generically a mixed state. Therefore, pure-state inputs that maximize work extraction imply non-minimal entropy production. Similarly, pure-state inputs that minimize heat imply non-minimal entropy production. One broad lesson from this analysis is that maximizing work extraction, minimizing heat, minimizing entropy production, etc., are all distinct concepts that should not be conflated. There is a great diversity in optimality among different thermodynamic goals. This will be emphasized again in our first example in Sec. X.

35It is worth noting that the smallest and largest eigenvalues of each thermodynamic operator demarcate the range of corresponding expectation values that can be achieved via alternative inputs:

36All values in this continuous range are achievable by some input.

VIII. IDEAL INPUTS FOR TYPE-II OBJECTIVES

37Not all thermodynamic expectation values can be expressed like Eq. (5) as a linear functional of the initial state. In particular, entropy production, reduction in nonequilibrium free energy, and change in entropy all have expectation values that are nonlinear functions of the initial state. However, in each of these three cases, the nonlinearity is of the same form, since it derives from the change of von Neumann entropy S(ρ) = −tr(ρ ln ρ). Accordingly, the initial states that extremize this second class of thermodynamic quantities all share similar features.

38The expectation value of entropy production, Σ ρ0 = Φ ρ0 + k B ∆S(ρ t ), plays a central role in nonequilibrium thermodynamics. When the environment begins in local equilibrium, and is uncorrelated with both itself and the system, then the famous Second Law of thermodynamics is valid: Σ ρ0 ≥ 0. In the appropriate circumstances, entropy production alternatively can be expressed as the work performed beyond the change in nonequilibrium free energy

39where T is the initial temperature of the environment.

40The expectation values of (i) entropy production, (ii) change in free energy, and (iii) change in entropy are each proportional to

41for the appropriate linear operators X . We will say that a thermodynamic quantity is 'type-II' when its expectation value is proportional to f (X ) ρ0 for some linear operator X and some positive constant of proportionality. In particular,

42A. General processes

Theorem 2. An initial state that locally minimizes a type-II quantity also globally minimizes it.

43This is because type-II quantities are convex in the initial state.

44For general processes, the nonlinearity of type-II objectives makes it difficult to find a closed-form expression for ideal inputs argmin ρ0 f (X )

45ρ0 . Nevertheless, since type-II quantities are convex in the initial state, any number of simple algorithms, including gradient descent and related variations, are guaranteed to converge to the ideal input upon iteration. By convexity, a local minimum in f (X ) ρ0 , when minimizing over the set of density matrices, is also the global minimum.

46However, constrained optimization-restricting to the set of density matrices in this case-is non-trivial. Although some techniques for gradient descent on the manifold of density matrices have been developed-see, e.g., Refs. [14,15] and references therein-we found a more direct solution to our problem, which we provide in this section. Our resulting algorithm for gradient descent provides a quantum generalization of the Frank-Wolfe algorithm [16], with a simple analytically solvable direction for descent at each step.

47Using techniques introduced in Ref. [2], we can analytically calculate the gradient of type-II expectation values around any initial state, given any parametrization of the state space. If we consider arbitrary infinitesimal changes in the initial generalized Bloch vector, then the partial derivative of f (X ) ρ0 , with respect to each Bloch-vector component, can be expressed as

48This follows via an adaptation of the derivation that led to Eqs. (C16) and (O4) in Ref. [2].

49It is useful to notice how the elements of an arbitrary matrix basis can be expressed as a linear combination of the d 2 test inputs:

50where we have included the reference state as Γ 0 = I/d. We can likewise express the time-evolution of these matrices, as the same linear combination of the time-evolved test inputs:

51Partial derivatives of f

52where

53A gradient can be constructed as the Hermitian operator

54However, extra care must be taken to stay along the manifold of valid density matrices. To achieve this, one can use the directional derivative

55which is the linear change in f (X ) ρ0 at ρ 0 when moving in the direction of ρ 0 . Since density matrices are a convex set, a change in this direction is guaranteed to move along the manifold of density matrices. For simplicity, · can be chosen to be the trace norm.

56Recall that, since f (X ) ρ0 is convex over initial states, descent always benefits its global minimization; there are no non-global local minima to get stuck in. If ρ 0 does not minimize f (X ) ρ0 , then we can find directions (along the manifold of density matrices) with negative slope, and these directions will lead towards the minimizer. Note that moving infinitesimally from ρ 0 towards ρ 0 will reduce f

57< 0. Accordingly, we can always find a valid direction of descent by identifying the ρ 0 that minimizes tr (ρ 0 − ρ 0 ) ∇f

58. Fortunately, this desired ρ 0 -call it σ min -can be found explicitly and analytically since

59where

60is the minimal-eigenvalue eigenstate of the Hermitian operator ∇f

61ρ0 . Putting this all together, we can now propose a simple descent method for finding the optimal quantum state:

62From d 2 linearly independent test inputs, record the initial Bloch matrix B, construct the thermodynamic operator X , and record the time-evolved test states (ρ

63. Choose an arbitrary initial density matrix ρ 0 , which will be updated iteratively.

64At each iterative step k:

Determine the descent directionn = σmin−ρ0

65σmin−ρ0 , with σ min = |ξ ξ| ξ|ξ , from the minimal-eigenvalue eigenstate |ξ of the Hermitian operator ∇f

663. Update the initial state ρ 0 to approach argmin ρ0 f (X ) ρ0 , according to:

67where a k is a small positive value that diminishes with large k.

68Notice thatn is a traceless operator. We take a k = 2 k+2 , as suggested by the Frank-Wolfe algorithm [16]. In the limit of many iterations, the algorithm converges then towards its unique fixed point α 0 = argmin ρ0 f (X ) ρ0 with error on the order of O(1/k).

69The minimizing input is generically a mixed state with full support. In these cases, success in the type-II minimization can be verified through the mismatch theorem:

70where D[ρ α] = tr(ρ ln ρ) − tr(ρ ln α) is the quantum relative entropy, and α 0 = argmin ρ0 f (X )

71ρ0 is the ideal input [2,4].

Theorem 3. A pure state input maximizes a type-II quantity.

72This is because type-II quantities are convex functions of the initial state, and the maximum of a convex function over a convex set (set of mixed states) is achieved on the boundary of the convex set (the pure states).

73Local maximization can be achieved by a slight adaptation of the above algorithm, by ascending rather than descending the gradient. The only difference is that the ascent direction is obtained via the maximal-eigenvalue eigenstate of the Hermitian operator ∇f (X ) ρ0 , whereas gradient descent used its minimal-eigenvalue eigenstate. However, local maxima of type-II quantities are not necessarily global maxima. In our simulations, we found the global maxima by seeding our algorithm with argmax ρ0 tr(ρ 0 X ) which was found via spectral decomposition of the thermodynamic operator X .

74For completeness and clarity, we provide this ascent algorithm explicitly:

75From d 2 linearly independent test inputs, record the initial Bloch matrix B, construct the thermodynamic operator X , and record the time-evolved test states (ρ

76. Choose the initial density matrix to be ρ 0 = argmax ρ0 tr(ρ 0 X ), which will be updated iteratively.

77At each iterative step k:

782. Determine the ascent directionn = σmax−ρ0 σmax−ρ0 , with σ max = |ψ ψ| ψ|ψ , from the maximal-eigenvalue eigenstate |ψ of the Hermitian operator ∇f

793. Update the initial state ρ 0 to approach argmax ρ0 f (X ) ρ0 , according to:

80where a k is a small positive value that diminishes with large k.

81In the limit of many iterations, the algorithm converges towards a local maximum of f (X ) ρ0 .

B. Overwriting processes

82Overwriting processes-processes that overwrite the physical state of the system-are an important class of processes including memory reset, state preparation, work extraction, and processes that lead to either equilibrium or nonequilibrium steady states. We find that their thermodynamically ideal inputs can all be found directly and analytically.

83For reliable overwriting processes, for which the final state r τ is very nearly independent of the input, S(ρ τ ) = S(r τ ) will effectively be a constant. In this case, as shown in App. D, f

84can be expressed as f

85ρ0 . It is worth noting that, if X is a bounded finite-dimensional operator, ω (X ) has full rank. Physically, this tells us that ω (X ) is a non-pure mixed state.

Theorem 4. For any overwriting process, the expectation value of any type-II quantity

86The corresponding minimal value is X ω (X ) = pS(r τ ) − p ln[tr(e −X )], where r τ is the input-independent final state of the overwriting process.

87Recall that the thermodynamic operator can be expressed as X = X I/d I + x · Γ/η. In terms of the thermodynamic vector x, we find that

88For a qubit in the standard Pauli-matrix basis Γ = σ/2, this further reduces to

89Intuitively, Eq. (34) tells us that the minimizing Bloch vector a * = − tanh(x)x points in the opposite direction of the thermodynamic vector x to reduce entropy flow or promote energy gain, as the case may be. However, this tendency to reduce heat or increase energy is balanced against the entropy gain incurred when tarnishing a pure state. As the magnitude of the thermodynamic vector x grows beyond unity, the minimizing Bloch vector converges exponentially to the edge of the Bloch sphere. For example, for any reliable overwriting process operating on a qubit, this tells us that the unique initial state leading to minimal entropy production is I/2 −φ · σ 2 tanh ϕ, in agreement 4 with Ref. [3,Eq. (25)] obtained by different means. Whereas Ref. [3] identified the initial state of a qubit that would lead to minimal entropy production during any qubit-reset process, the current result provides a significant generalization. We now identify the ideal input to any overwriting process in any finite dimension for any type-II objective, including maximizing free-energy gain. While the initial states leading to minimal entropy production or maximal gain in free energy are non-trivial mixed states, the input leading to the largest reduction in entropy is always the same for any overwriting process. Notice that the largest reduction in entropy is achieved by the fully mixed input state ω (0) = I/d for any overwriting process in any dimension d. We have so far found the ideal inputs to minimize the expectation values of type-II quantities during an overwriting process-for example, the inputs leading to minimal entropy production or maximal increase in nonequilibrium free energy. It is just as natural and important to ask: Which inputs maximize the expectation values of type-II quantities, leading, e.g., to maximal entropy production or the biggest reduction in nonequilibrium free energy? Since S(ρ τ ) = S(r τ ) is independent of the input to an overwriting process, maximizing f (X ) ρ0 = tr(ρ 0 X ) + S(ρ τ ) − S(ρ 0 ) asks us to simultaneously minimize S(ρ 0 ) and maximize tr(ρ 0 X ). Notice that S(ρ 0 ) is minimized for any pure state, whereas tr(ρ 0 X ) is maximized by some pure state, according to Thm. 1. Accordingly, the two objectives can be simultaneously satisfied by identifying the pure state that maximizes tr(ρ 0 X ). We thus inherit an answer from Thm. 1, when seeking to maximize the expectation value of a type-II quantity.

90Theorem 5. For any overwriting process, the expectation value of any type-II quantity X ρ0 = pf

91is maximized by a pure-state input that maximizes tr(ρ 0 X ). This is satisfied by any eigenstate of X with maximal eigenvalue.

92For example, for any overwriting process, the input that maximizes entropy production is the pure state that maximizes entropy flow, which is an eigenstate of the expected-entropy-flow operator Φ with maximal eigenvalue. Similarly, the biggest reduction in nonequilibrium free energy will be achieved for any overwriting process from the pure-state input that maximizes the reduction in energy, which is an eigenstate of the change-of-energy operator Q + W with minimal eigenvalue.

C. Perturbative correction to type-II minimizers

93Here we find a closed-form expression for the approximate minimizer of any type-II functional-e.g., the input state that minimizes entropy production or maximizes the change in nonequilibrium free energy-for any process, via a second-order expansion of the type-II functional around a reference state. This method becomes exact in the limit that the true minimizer is a small perturbation from the reference state-e.g., in the case of small changes to a protocol with known minimizer. To obtain our result, we minimize f (X ) ρ0 over the space of valid generalized Bloch vectors. It is convenient to introduce the functionρ withρ( b) = I/d + b · Γ which maps Bloch vectors to their corresponding density matrices, and the functionρ withρ ( b) = Γ 0 + b · Γ which maps initial Bloch vectors (at time 0) to their corresponding time-evolved density matrices at time τ . To simplify notation, we introduce the functionf such thatf

94We seek the optimal b * = argmin bf ( b) in the perturbative regime, where the optimalρ( b * ) is a small perturbation away from some reference initial stateρ( π). For instance,f may represent entropy production andρ( π) may be an initial equilibrium state such thatρ( b * ) ≈ρ( π) in the limit of slow time-dependent driving. Assume that the density matrix ρ( π) is positive definite. By continuity, for any b sufficiently close to π,ρ( b) is also positive definite and therefore a valid density matrix. 5 Now expandf to second order in :

95where j is the gradient vector and H is the Hessian matrix off evaluated at π. The elements of the gradient vector are given by

96The elements of the Hessian matrix are H m,n = (∂ bm ∂ bn f )| π . The Hessian follows by considering the second derivatives of the von Neumann entropy, which we calculate in App. H to find

97where we used the eigendecompositionρ( π) = k ν k |k k| and defined φ(a, b) := ln a−ln b a−b (with φ(a, a) = 1/a by continuity), which is the reciprocal of the logarithmic mean. We note that this second-order expansion has some resemblance to the Kubo-Mori-Bogoliubov metric of quantum-information geometry [17]. We derive a similar expression for ∂ bm ∂ bn S(ρ ), which gives the following form for the matrix elements of the Hessian:

98where we used the eigendecompositionρ ( π) = k ν k |k k |. Note that H is positive semi-definite sincef is a convex function. For simplicity, assume for now thatf is strictly convex, in which case H is positive definite and has an inverse H −1 . (We give the generalization later.) Finally, we minimize Eq. (35) in closed form. First, complete the square to write

99where the last inequality is achieved by setting * = −H −1 j. This implies that in the perturbative regime, the optimal state is given byρ

100which achieves the optimal value

101The above expressions for the optimal state generalize to allow for a singular Hessian if we replace H −1 with the Drazin inverse H D (or the group inverse, since we can diagonalize the Hessian) [18].

IX. GENERALIZED BLOCH VECTORS, THERMODYNAMIC OPERATORS, AND IDEAL INPUTS WITHIN A RESTRICTED SUBSPACE

102It will often be useful to know the ideal input to a device, within a restricted subspace of possible inputs. For example, when operating on a system with a countably infinite number of energy eigenstates, we may care about inputs with non-zero probability amplitude only in the lowest N energy eigenstates, for some finite N . Or, we may be interested in the best classical inputs to a device, when coherent states cannot be readily prepared. In such cases, we can find the thermodynamically ideal input to the transformation within this finite-dimensional subspace via a very straightforward adaptation of the above techniques.

103Let P P be the convex subspace of the system's possible density matrices P, induced by the set of orthogonal projectors

104Density matrices in this subspace act on a d P -dimensional vector space V P , where d P = Π∈P tr(Π). The identity operator on V P is given by I P = Π∈P Π.

105Each projector Π j ∈ P has an associated dimension d j = tr(Π j ). The restricted subspace P P is spanned by a basis of L linearly independent density matrices, where L = |P | j=1 d 2 j . In general, d P ≤ L ≤ d 2 P . By creating an appropriate operator basis and generalized Bloch vector for initial density matrices restricted to P P , we can easily adapt and leverage all results of previous sections in this restricted setting. To achieve this, the following development closely parallels the previous introduction of generalized Bloch vectors.

106When the initial density matrix ρ 0 is restricted to P P , it is useful to choose a complete basis (I P /d P , Γ 1 , Γ 2 , . . . Γ L−1 ) for linear operators acting on V P , such that the Hermitian operators Γ n are all traceless and mutually orthogonal, satisfying tr(Γ n ) = 0 and tr(Γ m Γ n ) = η P δ m,n , where we will choose the normalizing constant to be η P = d P −1 d P . Any initial density matrix then has a unique decomposition in the operator basis Γ P = (Γ 1 , Γ 2 , . . . Γ L−1 ), described by the generalized Bloch vector b 0 ∈ R L−1 via

107Since the magnitude of the Bloch vector

108, the density matrix represents a pure state iff the magnitude of its corresponding Bloch vector is one.

109For concreteness, we can choose the ordered operator basis to begin with a scaled ordering of the d P diagonal generalized Gell-Mann matrices, followed by d j (d j − 1)/2 non-diagonal symmetric Gell-Mann matrices and d j (d j − 1)/2 antisymmetric Gell-Mann matrices for each projector Π j ∈ P with d j > 1. Recall that these matrices are given explicitly in App. E.

110It is now productive to consider the restriction of a thermodynamic operator to this subspace X P := Π∈P ΠX Π. It is easy to check that the expectation value for any type-I thermodynamic quantity satisfies tr(ρ 0 X P ) = tr(ρ 0 X ) = X ρ0 for all ρ 0 ∈ P P .

111Notably, X P can be constructed directly, just as X was in the previous sections-but now in the finite-dimensional restricted subspace P P , using the operator basis Γ P , generalized Bloch vector, and thermodynamic operator x P associated with this restricted subspace. For general processes, the thermodynamic operator restricted to this subspace is constructed as

112The thermodynamically ideal inputs within the subspace of interest are constructed just as before, with the extremal eigenvalues and associated eigenstates of X P playing the special role indicated in Theorems 1 and 5. For overwriting processes, the minimal value of type-II quantities is achieved within subspace P P by ω (X P ) = e −X P /tr(e −X P ) = e − x P · Γ P /η P /tr(e − x P · Γ P /η P ), which extends an analogous result of Ref. [4] that was formulated for the case of entropy production.

113It is interesting to note that these methods-restricting to the d P -dimensional subspace-work even though the states are not restricted to this subspace during their evolution. Indeed, the protocol can spread these initially-restricted inputs across infinite dimensions, but our finite-dimensional inference of the ideal input within this initial subspace remains valid.

114To pursue the example of inputs with support restricted to the N lowest-energy eigenstates {|E n } N n=1 of some initial system Hamiltonian H 0 , we would consider the density matrices with support on the system's Hilbert subspace: H sub = span {|E n } N n=1 . I.e., we would consider the restricted set of initial density matrices P sub = ρ = p |ψ ψ | ψ |ψ : p ∈ (0, 1], p = 1, |ψ ∈ H sub , which is induced by the single rank-N projector Π = N n=1 |E n E n |. Within this subspace, there are L = d 2 {Π} = N 2 linearly independent initial states (compared to the d 2 = ∞ linearly independent initial states within the full Hilbert space).

A. Classical systems

115If we define classical inputs as those states restricted to be initially incoherent in a particular 'classical' orthonormal basis C, then we can see how the general quantum problem simplifies significantly, if we seek the classical thermodynamic operators and ideal classical inputs. Classical density matrices are those induced by the set of orthonormal rank-1 projectors P = {|b b|} b∈C . Classical density matrices are diagonal in the classical basis, and can be regarded as a representation of a probability distribution over these classical states. Note that for d-dimensional systems, there are only L = d linearly independent classical density matrices, in contrast to the d 2 linearly independent quantum density matrices over the same space. Accordingly, each classical thermodynamic vector has d − 1 components, rather than the d 2 − 1 components of its quantum counterpart. Similarly, each classical thermodynamic operator will be fully determined by the behavior of d, rather than d 2 , initial states.

X. EXAMPLE 1: NONEQUILIBRIUM THERMODYNAMICS OF A QUBIT-RESET DEVICE

116Quantum computing requires a mechanism for resetting each qubit to the computational-basis state |0 = σ z |0 . Different implementations of the same task will however have distinct sets of thermodynamically ideal inputs. Nonequilibrium thermodynamic quantities are determined less by what you do than how you do it.

117For a paradigmatic illustration of our results, we consider the same device for qubit reset that was used in Ref. [3] to generate Ref. [3]'s Fig. 1. The device works by changing both the energy gap and spatial orientation of the energy eigenstates of the qubit, while the qubit is weakly coupled to a thermal environment. The detailed dynamical equations are reviewed in App. I, but these details are not central to the main points we make here.

118To determine how the device's thermodynamic behavior depends on the input state, we track the evolution of four randomly sampled initial density matrices, together with the thermodynamic output from each of these four inputs. From the Bloch matrix B and the measured thermodynamic output, we construct the Hermitian thermodynamic operators. For example, the expected-heat and expected-work operators, Q and W, allow us to determine (i) the ideal inputs leading to minimal and maximal heat and work, and (ii) the full range of heat and work that can be attained by any input to the device. These are obtained from the extremal eigenvalues and associated eigenstates of the thermodynamic operators.

A. Diversity among ideal inputs for thermodynamic objectives

119Simple combination and manipulation of the heat and work operators reveals the diversity of ideal inputs for a multitude of different thermodynamic objectives, as shown in Fig. 1.

120In the figures, we emphasize the heat exhausted to the environment −Q, rather than the heat Q directly. In this example, with a single environmental bath at constant temperature T , note that entropy flow to the environment is simply related to heat out of the system via Φ = −Q/T . The expected-entropy-flow operator is thus simply related to the expected-heat operator in this case, via Φ = −Q/T . Meanwhile, the expected-energy-change operator is simply Q + W. Minimal entropy production and maximal free energy gain are achieved by non-trivial mixed-state inputs. The change in entropy is minimized by the fully-mixed input. Entropy production is maximized by the same pure-state input that maximizes heat exhaustion. The greatest loss of free energy occurs for the same pure-state input that loses the most energy.

B. Bounding the behavior of all inputs

121Continuing our example of the qubit-reset dynamics, we now leverage our results to identify the extremal thermodynamic behavior that can be attained by any input throughout the process. Fig. 2 demonstrates that thermodynamic observations from just four inputs yield the full range of thermodynamic behavior from any input. For example, the min and max expected work at any time t ∈ [0, τ ], obtainable from alternative inputs, is determined by the expected-work operator at that time. The expected-work operator at any time is constructed from the expected work performed on each of the four test inputs up to that time. Determining the ranges of work, energy change, and heat thus reduces to determining eigenvalue ranges of the respective Hermitian operators.

122Determining the range of entropy production throughout the process is somewhat more complicated, although it still only requires the data from four test inputs. Notably, in the bottom panel of Fig. 2, we find the states of minimal and maximal entropy production at times before the state is fully reset. This employs the gradient-descent algorithm developed in Sec. VIII A.

XI. EXAMPLE 2: EXTRACTING WORK FROM A SPATIALLY EXTENDED STATE

123Let us now turn to the analysis of an infinite-dimensional quantum system: a charged particle in a time-dependent potential, in the presence of electromagnetic background radiation. This can be interpreted as an idealized model of a double quantum dot in the single-particle zero-current regime. In this example, we use time-dependent Lindbladian dynamics, with a time-modulated double-well of potential energy across one spatial dimension. The protocol is capable of extracting work from some states that are initially localized in the right well. We consider the ideal input (for the task of work extraction), and how it compares to the performance of other inputs, within the Hilbert space spanned by the eight lowest lying energy eigenstates of the initial Hamiltonian.

124We will quantify work extraction simply as the negative work performed. In principle, this work can be extracted by a more explicit mechanism, like proposed in Ref. [19].

125Given any protocol for work extraction, we can construct the expected-work operator to determine its breadth of behavior on all possible inputs. The device will be best at extracting work from the lowest lying eigenstate of the expected-work operator; the corresponding minimal-eigenvalue magnitude reports the maximal possible expected value of extractable work.

126In particular, we simulate a work-extraction protocol via the time-dependent system Hamiltonian H t =

127is the momentum operator and m is the mass of the single-particle system. The time-dependent potential-energy landscape is

128where g t and f t are non-negative scalar functions of time, with g 0 = g τ = 1 and f 0 = f τ = 0. To enter an interesting thermodynamic regime, we choose the initial energy barrier between the two wells to be h 0 = 8k B T , where k B T = 1/β is the thermal energy of the environment. To enter an interesting quantum regime, we choose the initial separation between the bottom of the two wells to be w 0 = 3λ th , where λ th = 2πβ/m is the thermal de Broglie wavelength. To induce nonequilibrium quantum dynamics, we choose a sufficiently fast protocol. Energy /(k B T )

129x/λ th

1303. Control protocol to extract work from the nonequilibrium state of a particle on the right-hand side of a double-well potential, via a time-varying one-dimensional potential-energy landscape in the quantum regime. Middle and bottom panel show the protocol for tilting the potential and lowering the energetic barrier, respectively. The top panels show the potential-energy landscape at five representative times along the protocol, staggered so that they share the same energy axis. We show a spatial representation of the lowest-lying energy eigenstates in these potentials, at the height of their respective energy eigenvalues.

131As depicted in Fig. 3, g t controls the height of the barrier while f t controls the tilt of the energetic landscape throughout the protocol. For a semiconductor-based double quantum dot, the barrier height and tilt could plausibly be modulated by applied voltages, gating the barrier and the bias across the device, respectively [20]. Note that the protocol is cyclic, since the initial and final Hamiltonian are both the same symmetric double-well potential. During the protocol, the potential is tilted to the right, the barrier is lowered, the potential is untilted, and the barrier is then reintroduced, in that order. 6 The exact form of the control protocol is given in App. J.

132The system is coupled to a thermal environment throughout the protocol. For our demonstration, we model the excitation and relaxation dynamics when the system interacts with the photon bath of an ideal blackbody at temperature T . The resulting dynamics of the system during the protocol can be described by a Lindblad master equationρ t = L t (ρ t ), given explicitly in App. J, which satisfies detailed balance in bath-mediated transitions between instantaneous energy eigenstates.

133We simulate a regime that could plausibly be demonstrated in a room-temperature laboratory experiment using a nanofabricated device. The resulting dynamics exhibits a separation of timescales, where the relaxation dynamics are much slower than the timescale of coherent oscillations between energy eigenstates. (Dissipative transitions occur approximately only once per 100 million periods of phase oscillation between energy levels with a k B T energy spacing.) We develop special methods to efficiently simulate the quantum dynamics (App. J 1) and thermodynamics (App. J 2) over the extended duration τ = 4 × 10 9 β ≈ 100 µs of the nonequilibrium protocol.

134Which initial state yields the most extracted work given this protocol? To determine this, we construct the expectedwork operator W acting on the Hilbert space spanned by the eight lowest lying initial energy eigenstates, via simulating the behavior of 64 random linearly independent initial states within this subspace. In our simulations, these initially restricted states evolve through the Hilbert space spanned by the twenty lowest lying instantaneous energy eigenstates throughout the protocol. δx | x, x + δx|v | 2 for the eigenstates |v of the expected-work operator W, offset by the corresponding work eigenvalue w, such that W |v = w |v . Fig. 4 depicts the eigenvalues and eigenstates of the expected-work operator, via their spatial probability density functions. Two eigenmodes of the expected-work operator allow for work extraction, while the other six modes require a work investment. As one might expect, the ideal initial state leading to maximal work extraction is initially localized in the right well. This state is approximately formed from equal parts of the two lowest lying energy eigenstates. It is also intuitive that the worst input begins purely in the left well. The remaining six non-extremal eigenstates of the expected-work operator are less immediately intuitive-yet they yield interesting insights once properly understood. As suggested by the spatial probability density functions in Fig. 4, each work-eigenstate is approximately a linear combination of up-to-two energy eigenstates (although in detail they contain contributions from all). Some investigation revealed that each work eigenstate roughly corresponds to a relative phase combination of energy eigenstates that leaves the particle either mostly in the right well (for small eigenwork) or mostly in the left well (for large eigenwork) during the first half of the protocol. Fig. 4 displays some kind of symmetry in the vertical spacing of work eigenvalues that could likely be related to fluctuation relations, although that investigation remains an open opportunity. The ideal input to this particular work-extraction protocol yields approximately 0.3472 k B T of extracted work ( W = −0.3472 k B T ), which is about half of the nonequilibrium addition to free energy (≈ k B T ln 2) available from that initial state. This work-extraction value was initially found via the minimal eigenvalue of the expected-work operator, and subsequently verified via direct simulation of this ideal input. The spatial evolution of this ideal state, and the corresponding work trajectory are shown in the bottom half of Fig. 5. There it is apparent that the ideal state remains on the right well for the first half of the work-extraction protocol. For comparison, the top half of Fig. 5 shows the spatial evolution and corresponding work trajectory of a random input (in particular, we chose one of the initial energy eigenstates). No work is extracted when operating on this state; rather, about 4.138 k B T of work must be expended in the process. We verified that this same work value is obtained (through ten significant digits) both from the full simulation and from the simple algebraic employment of the expected-work operator 7 : tr(ρ 0 W) ≈ 4.138 k B T . The series of panels in the top half of Fig. 5 reveals the work penalty for populating the left well during the first half of the protocol. The chronologically second snapshot reveals a slow local equilibration within each well. Subsequent snapshots reveal an even slower tendency towards global equilibration throughout the protocol. As anticipated by the general theory, the initial state leading to maximal work extraction is a pure state. In this case, this state is close to, but distinct from, the input leading to minimal entropy production-the latter of which is a non-pure mixed state. As a final note, we emphasize that we've been able to identify the ideal input within the initial low-energy subspace, although the evolving states were not limited to this subspace during their natural dynamics. Top and bottom panels show spatial probability density of the state in thick solid blue, compared to the probability density for the instantaneous equilibrium state in thin dashed green; the instantaneous potential-energy landscape, which starts and ends as a symmetric double well, is shown in thin solid gray. The two long middle panels show the time evolution of the expected work from each of these two initial states.

XII. CONCLUSION

135We have determined the ideal inputs that minimize or maximize various thermodynamic quantities for any fixed process that transforms a physical system in finite time. Many of these optimal inputs turn out to be pure states corresponding to eigenstates of Hermitian thermodynamic operators. We showed how to reconstruct these operators via observed behavior from a finite number of experimentally accessible input states. Another class of thermodynamic quantities, based on entropies, have mixed-state minimizers but pure-state maximizers. The Hermitian thermodynamic operators determine these ideal states too. Our examples illustrate the incompatibility of common objectives: The 'ideal' input depends on whether one intends to minimize heat, minimize entropy production, maximize free-energy gain, maximize work extraction, etc. This investigation of ideal initial states complements the centuries-old tradition of rather seeking ideal protocols with an assumed initial state. Whether or not a protocol is ideal, our results highlight the initial-state dependence of a device's performance across thermodynamic metrics, and expose the breadth of its possible behavior. While we emphasized thermodynamics, the results of this paper extend easily to other domains-where the ideal inputs, as judged by some other criteria, like maximizing the yield of a desired output state [21], will be obtained from the linear operators induced by those criteria. where π env t is assumed to be independent of ρ 0 . If we write outρ env t more explicitly, we find that

136Hence, we've found the relevant linear superoperator

137dt, which is somewhat complicated. No matter: Its mere existence proves the existence of some simpler linear operator Φ such that Φ ρ0 = tr(ρ 0 Φ) for any initial state ρ 0 .

138A similar procedure reveals the existence of the relevant linear superoperator Ξ(·) for work and heat, which in turn implies the existence of the simpler expected-work operator W and expected-heat operator Q.

139Expanding the expression for expected work, we find

140Hence, the linear superoperator Ξ W (·) = τ 0 tr env (U t · ⊗ρ env 0 U † t )Ḣ t dt implies the existence of the simpler expected-work operator W.

141Expanding the expression for expected heat, we find

142Hence, the linear superoperator Ξ Q (·) = τ 0 d dt tr env (U t · ⊗ρ env 0 U † t ) H t dt implies the existence of the simpler expectedheat operator Q.

Appendix B: Thermodynamic operators characterize any measurement scheme

143Invasive measurements change not only the probability distribution for work, but also the expected value for work under the prescribed measurement protocol [7]. Our framework applies just as well to these alternative protocols with measurement interventions. For example, let us briefly describe how our framework applies to the famous two-pointmeasurement (TPM) scheme for driven isolated quantum systems, which projects the state onto the instantaneous energy eigenbasis at both the beginning and end of the protocol [8].

144If we are interested in the TPM scheme for a driven isolated quantum system, the relevant expected-TPM-work operator is

145where H and H are the initial and final Hamiltonians for the system respectively, and U τ unitarily evolves the system between the two projective measurements. In the TPM scheme, the system transitions from initial energy eigenstate |E to final energy eigenstate |E with probability E|ρ 0 |E E |U τ |E 2 , resulting in a TPM work value of E − E.

146It is easy to verify that

147where W TPM is the random variable for the TPM work outcome, and the sum runs over all w ∈ {E − E : E ∈ Λ H , E ∈ Λ H }.

148Ref. [7] shows that W = W TPM . Invasive measurements can change the expectation value for work (and indeed for other thermodynamic variables too). If desired, our framework can be employed to find the ideal inputs leading to minimal or maximal TPM work, from the minimal and maximal eigenstates of W TPM . Indeed, for any measurement scheme-including also the one-time-measurement scheme [9][10][11] or any other-thermodynamic operators can be constructed, and our framework can be applied to identify both the breadth of behavior and the ideal inputs within the scheme.

Appendix C: Expectation-value invariance to subensemble decomposition

149Our contributions in the main text exclusively involve expectation values, so are invariant to density-matrix decompositions. Here we show this invariance explicitly. As an added benefit, it can be useful to see how the quantum random variables induced by a subensemble decomposition relate to and generalize their classical counterparts.

150In the classical case, fluctuations are primarily due to subjective uncertainty about which state the environment is in (although uncertainty of the system state also plays a role). Since quantum results should include classical results as a special case, we must also consider the role of subjective uncertainty in the quantum case. In general, this can be addressed via a probability distribution over (possibly nonorthogonal) subensembles of the joint system-environment supersystem [12]. There are many ways to decompose the initial joint density matrix of the system-environment supersystem. In fact for a non-pure mixed state ρ tot 0 , there are infinitely many pairs (p n ) n , (σ n ) n of probability distributions (p n ) n over constituent density matrices (σ n ) n , for which ρ tot 0 = n σ n p n . Each of these decompositions can represent a physically relevant preparation of the supersystem [12,22]. Each subensemble decomposition (p n ) n , (σ n ) n induces a random variable X (p n ) n , (σ n ) n . 8 With probability p n , the subensemble σ n will be realized, in which case the random variable X takes on the value x(σ n ). When the thermodynamic quantity is a linear functional of the initial state-as is the case for work, heat, entropy flow, etc.-it's easy to see that

151independent of the decomposition. In the main text, we always consider ρ tot 0 = ρ 0 ⊗ ρ env 0 for a fixed initial state of the environment ρ env 0 . For these thermodynamic linear functionals, we thus use the shorthand notation

152As a consequence, the expectation value X ρ0 and thermodynamic operator X are both invariant to subensemble decompositions. Let's take thermodynamic work (without measurement interventions) as an example. From Eq. (A8), we see that work can be quantified for any initial joint state σ of the supersystem via

153If the system and environment are unmeasured, then it is natural for eigenvalues of the uncorrelated density matrix to represent subjective uncertainty. We can thus take (p n ) n , |n n| as our subensemble decomposition, where |n is an eigenstate of ρ tot 0 . In this case, work will be a random variable W which takes on the value w (n) = w |n n| with probability m p m δ w (m) ,w (n) . We can then write

154We see that the expectation value and the thermodynamic operator are both independent of the chosen subensemble decomposition.

Appendix D: Operator expressions for type-II expectation values

155The expectation values of entropy production, the reduction in nonequilibrium free energy, and the change in von Neumann entropy can all be written as:

156where ω := e −X /tr(e −X ).

157For reliable reset processes, for which ρ τ ≈ r τ is very nearly independent of the input, it is clear that ω minimizes f (X ) ρ0 , where it takes on the minimal value f

158Ref. [4] pointed out that entropy production can be written in this form. Here we notice that this type of relation applies also to a larger family of thermodynamic quantities.

Appendix E: Generalized Gell-Mann matrices as a standard operator basis

159For concreteness, we will describe an operator basis that can be used in any finite dimension d.

160Let |1 , . . . , |d be an orthonormal basis for the d-dimensional Hilbert space of our system under study. We can then construct the generalized Gell-Mann matrices to complete a matrix basis for density matrices acting on this Hilbert space.

161Let n ∈ R be any convenient constant. Γ will contain d − 1 diagonal matrices

162with ∈ {1, . . . , d − 1}. It will contain (d 2 − d)/2 distinct non-diagonal symmetric matrices n |k j| + |j k| ,

163with 1 ≤ j < k ≤ d. It will also contain (d 2 − d)/2 distinct antisymmetric matrices

164with 1 ≤ j < k ≤ d. The ordering of these d 2 − 1 matrices is arbitrary.

165Notice that these operators are traceless and satisfy tr(Γ m Γ n ) = 2n 2 δ m,n . Hence, η = 2n 2 . If we choose n = d−1 2d , then η = d−1 d , pure states will always have a generalized Bloch vector of unit length, 9 and the generalized Bloch vector will reduce to the standard Bloch vector in d = 2.

166where the new composite operator basis contains This allows us, for example, to build up a normalized Hermitian operator basis for • many qubits, using tensor products of the local Pauli operators, or

167• a qubit and qutrit, using tensor products of their local Pauli and Gell-Mann operators,

168• etc.

Appendix G: Existence of, and expression for, the entropy-flow vector

169Leveraging the decomposition of the system state in terms of its generalized Bloch vector, ρ t = I/d + b t · Γ, we can expand the general expression for entropy flow given in Ref. [3] and discussed in the main text, to express entropy flow in terms of the entropy-flow vector and initial Bloch vector:

170Other thermodynamic quantities can be decomposed similarly.

171finite-time protocol, from time 0 through τ = 50β , the time-varying Hamiltonian is

172with E t = k B T [1 + 49 sin 2 πt 100β ]/5 and θ t = πt/(50β ). While E t quantifies the energy gap between the system's instantaneous energy eigenstates, θ t parametrizes the instantaneous orientation of the energy eigenbasis relative to the 'computational' z-basis. The dynamics are well-described by a time-dependent quantum master equatioṅ

173where D[L](ρ) = LρL † − 1 2 {L † L, ρ}, N xt = (e βEt − 1) −1 , and c = 1/5 is the coupling strength to the bath. The time-dependent lowering operator can be represented as

174and satisfies the detailed balance condition [L xt , H xt ] = E t L xt [23,24]. Transitions thus occur between instantaneous energy eigenstates of the system. In particular, D[L xt ](ρ t ) takes the excited population and shifts it to the ground state, while D[L † xt ](ρ t ) takes the ground-state population and shifts it to the excited state. Moreover, the ratio of transition rates between the excited and ground-state populations satisfies detailed balance since (N xt + 1)/N xt = e βEt .

Appendix J: Time-dependent double-well dynamics

175Here we construct a simple model for the dynamics of a non-relativistic charged particle in a time-dependent double-well of potential energy across one spatial dimension while it is immersed in a bosonic bath at temperature T . The protocol is capable of extracting work from some states that are initially localized in the right well.

176In particular, we simulate a work-extraction protocol via the time-dependent system Hamiltonian:

177where p x = −i ∂ x is the momentum operator and m q is the mass of the system with charge q. The time-dependent potential-energy landscape is

178where g t and f t are non-negative scalar functions of time, with g 0 = g τ = 1 and f 0 = f τ = 0. To enter an interesting thermodynamic regime, we choose the initial energy barrier between the two wells to be h 0 = 8k B T , where k B T = 1/β is the thermal energy of the environment. To enter an interesting quantum regime, we choose the initial separation between the bottom of the two wells to be w 0 = 3λ th , where λ th = 2πβ/m q is the thermal de Broglie wavelength. To induce nonequilibrium quantum dynamics, we choose a sufficiently fast protocol. g t controls the height of the barrier while f t controls the tilt of the energetic landscape throughout the protocol. During the protocol, the potential is tilted to the right, the barrier is lowered, the potential is untilted, and the barrier is then reintroduced, in that order. The exact form of the control protocol is given by the very fast timescale of β = 25.4 fs, and the relaxation dynamics occur at the much slower rate on the order of γ = 9.3 × 10 −9 /(β ) = 366 kHz.

Quantum evolution with separation of timescales

179The factor k B /(m e c 2 ) = 1.69 × 10 −10 /K (in the dissipative γ term) induces a separation of timescales between the coherent dynamics and the consequently much slower relaxation dynamics. In particular if, over the timescale β , the Hamiltonian is approximately constant and the approximately-constant relaxation rates are very small (such that β r (m→n) 1), then it is useful to derive and employ the following discrete-time dynamics.

180It will be fruitful to write the full Lindblad superoperator of Eq. (J6) as

181where U = e −iHt/ and {·, ·} is the anticommutator.

182In our simulations, we restrict the dynamics at each time-step to the twenty lowest-lying instantaneous energy eigenstates, so that m and n in Eq. (J21) both range over these twenty states. To approximate the dynamics, we compound a sequence of many discrete steps-each of the form e (δt)Lt of Eq. (J21), but with each step using the instantaneous Lindblad superoperator L t induced by (i) the instantaneous energy eigenstates of the Hamiltonian H t and (ii) the instantaneous transition rates given by Eqs. (J12) and (J13).

183Recall that our simulations assume room temperature (300 K), and so transition rates are on the order of γ = 9.3 × 10 −9 /(β ) = 366 kHz. Accordingly, we take δt = 4 × 10 5 β ≈ 10 ns as the duration of each discrete time-step. 11 Each step of the discrete dynamic thus allows for many coherent oscillations with only perturbative decoherence. We choose the total duration of the protocol to be τ = 4 × 10 9 β ≈ 100 µs, which is long enough to allow for many transitions, yet short enough to keep the system away from equilibrium throughout the protocol.

Work with separation of timescales

184Recall that the expectation value of work can be calculated as W ρ0 = τ 0 tr ρ tḢt dt. During a simulation, the integral is approximated numerically via breaking time into many bins, each much smaller than τ . In typical simulations, with N timesteps of duration τ = τ /N , the expected work can be approximated as [28] W ρ0

185which implicitly assumes that the density matrix does not change appreciably during the timestep. However, because of the separation of timescales in our simulations, the density matrix goes through many coherent oscillations (in the relative phase between energy eigenstates) during a single timestep. Accordingly, treating the density matrix as a constant during each timestep, as done in Eq. (J22) would not be appropriate in our situation. Rather-with N timesteps of duration τ = τ /N , and in a regime where the rate of change of the Hamiltonian is approximately constant throughout each timestep-the expected work is well approximated by As a first-order approximation to the time-averaged density matrix within a single timestep, we can assume that the system does not make any dissipative transition. In this case, e tL = e t(C+D) ≈ e tC , and the time-averaged density matrix will be well approximated by:

186where we have used the shorthand ω = (E − E)/ . Notice that energetic coherences get averaged out via a decaying envelope with magnitude 2/(ωτ ).

참고문헌 43건

  1. Nonequilibrium Measurements of Free Energy Differences for Microscopically Reversible Markovian Systems Journal of Statistical Physics · Springer Science+Business Media · 1998 10.1023/a:1023208217925
  2. Quantum Field Theory and the Standard Model Cambridge University Press eBooks · Cambridge University Press · 2013 10.1017/9781139540940
  3. The Bogoliubov inner product in quantum statistics Letters in Mathematical Physics · Springer Science+Business Media · 1993 10.1007/bf00739578
  4. Double Quantum Dot as a Quantum Bit Science · American Association for the Advancement of Science · 2005 10.1126/science.1118921
  5. Work extraction and thermodynamics for individual quantum systems Nature Communications · Nature Portfolio · 2014 10.1038/ncomms5185
  6. Fluctuations of work from quantum subensembles: The case against quantum work-fluctuation theorems Physical Review E · American Physical Society · 2005 10.1103/physreve.71.066102
  7. Second law and Landauer principle far from equilibrium EPL (Europhysics Letters) · Institute of Physics · 2011 10.1209/0295-5075/95/40004
  8. Fluctuation theorems: Work is not an observable Physical Review E · American Physical Society · 2007 10.1103/physreve.75.050102
  9. Entropy production as correlation between system and reservoir New Journal of Physics · IOP Publishing · 2010 10.1088/1367-2630/12/1/013013
  10. Nonequilibrium quantum fluctuations of work Physical Review E · American Physical Society · 2014 10.1103/physreve.90.032137
  11. Geometry of Bloch vectors in two-qubit system Physics Letters A · Elsevier BV · 2001 10.1016/s0375-9601(01)00455-8
  12. Prescription for experimental determination of the dynamics of a quantum black box Journal of Modern Optics · Taylor & Francis · 1997 10.1080/09500349708231894
  13. Climate and thermodynamic systems of maximum dissipation Nature · Nature Portfolio · 1979 10.1038/279630a0
  14. An analytical decomposition protocol for optimal implementation of two-qubit entangling gates Journal of Physics A Mathematical and Theoretical · Institute of Physics · 2008 10.1088/1751-8113/41/39/395307
  15. The Minimum Entropy Production Principle Annual Review of Physical Chemistry · Annual Reviews · 1980 10.1146/annurev.pc.31.100180.003051
  16. Thermalizing Quantum Machines: Dissipation and Entanglement Physical Review Letters · American Physical Society · 2002 10.1103/physrevlett.88.097905
  17. Diluting quantum information: An analysis of information transfer in system-reservoir interactions Physical Review A · American Physical Society · 2002 10.1103/physreva.65.042105
  18. Nonequilibrium fluctuations, fluctuation theorems, and counting statistics in quantum systems Reviews of Modern Physics · American Physical Society · 2009 10.1103/revmodphys.81.1665
  19. A projected gradient method for optimization over density matrices Optimization methods & software · Taylor & Francis · 2015 10.1080/10556788.2015.1082105
  20. X. <i>On a modified form of the second fundamental theorem in the mechanical theory of heat</i> The London Edinburgh and Dublin Philosophical Magazine and Journal of Science · Taylor & Francis · 1856 10.1080/14786445608642141
  21. Quantum work and the thermodynamic cost of quantum measurements Physical review. E · American Physical Society · 2016 10.1103/physreve.94.010103
  22. Nonequilibrium potential and fluctuation theorems for quantum maps Physical Review E · American Physical Society · 2015 10.1103/physreve.92.032129
  23. No-Go Theorem for the Characterization of Work Fluctuations in Coherent Quantum Systems Physical Review Letters · American Physical Society · 2017 10.1103/physrevlett.118.070601
  24. Fundamental limitations on photoisomerization from thermodynamic resource theories Physical review. A/Physical review, A · American Physical Society · 2020 10.1103/physreva.101.042116
  25. Beyond the Spectral Theorem: Spectrally Decomposing Arbitrary Functions of\n Nondiagonalizable Operators eScholarship (California Digital Library) · California Digital Library · 2016
  26. Strong Coupling Thermodynamics of Open Quantum Systems Physical Review Letters · American Physical Society · 2020 10.1103/physrevlett.124.160601
  27. Initial-state dependence of thermodynamic dissipation for any quantum process Physical review. E · American Physical Society · 2021 10.1103/physreve.103.042145
  28. Quantum Jarzynski Equality in Open Quantum Systems from the One-Time Measurement Scheme Physical Review Letters · American Physical Society · 2020 10.1103/physrevlett.125.060602
  29. Quantum Fluctuations Hinder Finite-Time Information Erasure near the Landauer Limit Physical Review Letters · American Physical Society · 2020 10.1103/physrevlett.125.160602
  30. Convex optimization of programmable quantum computers npj Quantum Information · Nature Portfolio · 2020 10.1038/s41534-020-0268-2
  31. Beyond density matrices: Geometric quantum states Physical review. A/Physical review, A · American Physical Society · 2021 10.1103/physreva.103.062218
  32. Irreversible entropy production: From classical to quantum Reviews of Modern Physics · American Physical Society · 2021 10.1103/revmodphys.93.035008
  33. Work as an external quantum observable and an operational quantum work fluctuation theorem Physical Review Research · American Physical Society · 2020 10.1103/physrevresearch.2.033508
  34. Quantum and Information Thermodynamics: A Unifying Framework Based on Repeated Interactions Physical Review X · American Physical Society · 2017 10.1103/physrevx.7.021003
  35. Dependence of dissipation on the initial distribution over states Journal of Statistical Mechanics Theory and Experiment · Institute of Physics · 2017 10.1088/1742-5468/aa7ee1
  36. Impossibility of achieving Landauer's bound for almost every quantum state Physical review. A/Physical review, A · American Physical Society · 2021 10.1103/physreva.104.012214
  37. Modern quantum mechanics Contemporary Physics · Taylor & Francis · 2021 10.1080/00107514.2021.1924275
  38. Quantum collision models: Open system dynamics from repeated interactions Physics Reports · Elsevier BV · 2022 10.1016/j.physrep.2022.01.001
  39. Quantum mechanical work Physical review. A/Physical review, A · American Physical Society · 2021 10.1103/physreva.104.042215
  40. Dependence of integrated, instantaneous, and fluctuating entropy production on the initial state in quantum and classical processes Physical review. E · American Physical Society · 2021 10.1103/physreve.104.054107
  41. Mathematical Physics Springer eBooks · Springer Nature · 1999 10.1007/978-3-642-87429-1
  42. Positive Functions on C ∗ -Algebras Proceedings of the American Mathematical Society · American Mathematical Society · 1955 10.2307/2032342
  43. Extending the Laws of Thermodynamics for Arbitrary Autonomous Quantum Systems PRX Quantum · American Physical Society · 2023 10.1103/prxquantum.4.020309