## Abstract

The standard formulation of quantum theory relies on a fixed space-time metric determining the localisation and causal order of events. In general relativity, the metric is influenced by matter, and is expected to become indefinite when matter behaves quantum mechanically. Here, we develop a framework to operationally define events and their localisation with respect to a quantum clock reference frame, also in the presence of gravitating quantum systems. We find that, when clocks interact gravitationally, the time localisability of events becomes relative, depending on the reference frame. This relativity ia a signature of an indefinite metric, where events can occur in an indefinite causal order. Even if the metric is indefinite, for any event we can find a reference frame where local quantum operations take their standard unitary dilation form. This form is preserved when changing clock reference frames, yielding physics covariant with respect to quantum reference frame transformations.

## Introduction

Quantum theory allows us to predict the probabilities of obtaining certain outcomes when we perform operations on a physical system. These operations are specified by laboratory procedures, including preparations, transformations and measurements. Apart from these operational elements, quantum theory relies on a definite space-time metric to make empirical predictions. Indeed, the metric is often implicit in the definition of an operation, and it determines the causal structure of the space-time where the operations are performed.

According to general relativity, the space-time metric is obtained by solving Einstein’s equations. Generically, a solution to these equations depends on the matter distribution, which is assumed to be classical. Understanding the consequences of replacing gravitating classical matter by gravitating quantum systems in general relativity is at the heart of the problem of quantum gravity^{1,2}. At the moment, a fully satisfactory and broadly accepted theory of quantum gravity is lacking, and it is far from clear how, if at all, the essential notions of quantum mechanics and general relativity will be modified in the more fundamental theory^{3,4}.

In the absence of such a theory, making quantum mechanical predictions when quantum systems act as gravitational sources is an important challenge. This is because gravitating quantum systems can lead to an indefinite spacetime metric, that is, a metric whose values are not given a priori, independently of any observations carried out on quantum systems. This gives rise to well known difficulties^{5,6,7,8,9,10,11}, which include the following: (i) The dynamical law of quantum theory (the Schrödinger equation) relies on a time parameter to specify the evolution of quantum systems. What plays the role of such time parameter in the absence of a definite metric? (ii) If the space-time metric is indefinite, the causal order between different operations is also indefinite. In this case, how are we supposed to apply the quantum mechanical rules for calculating probabilities for measurements corresponding to a set of observables? (iii) The physical realisation of an operation on a quantum system typically relies on “background” degrees of freedom, which are crucial for defining the operation. For example, the pointer position of a clock can define the time when the operation is applied^{12}. If the metric field is indefinite, the clock does not “know” how fast to tick, due to an uncertainty in its time dilation^{13}. (More precisely, the clock gets entangled with the gravitating degrees of freedom.) In this situation, how are we supposed to define the operation in the first place?

In this work, we propose a method for tackling some aspects of the above difficulties. We develop a framework for “time reference frames”, which are (quantum) reference frames associated to quantum clocks. (Recently, clocks at the interplay between quantum mechanics and general relativity have gained significant attention^{14,15,16,17,18,19}). The following paragraph summarises our findings in the context of the difficulties mentioned above:

Regarding (i), we further develop a “timeless” approach^{20,21,22,23,24} according to which time emerges though correlations between “what a clock shows” and the state of the system. We consider a set of multiple clocks and describe the evolution of a quantum system according to individual clocks from the set. In particular, we consider cases in which the space-time metric is indefinite due to gravitating quantum systems in a superposition of energy or position eigenstates. We show that a notion of unitary time evolution arises with respect to each of these clocks, even in the presence of gravitating quantum systems. Moreover, the Schrödinger equation is covariant (form invariant) under the transformation from one time reference frame to another. This fact constitutes a concrete implementation of the covariance of physical laws in quantum reference frames advocated for in ref. ^{25}. With respect to (ii), we introduce a local, operational definition of an “event”, in which an operation is applied to a quantum system conditioned on a clock reading a specific “time”, and for which we can use the timeless approach to calculate its probability of occurrence even in cases when the order between events is not definite. Moreover, we study the temporal localisation of events with respect to different time reference frames, and find that, when quantum clocks interact with gravitating quantum systems, the temporal localisability of an event becomes relative, depending on the time reference frame. This result provides a concrete physical realisation, in terms of quantum systems which are sources of the gravitational field, of the claim reported in refs. ^{26,27}, that the localisability of events is observer-dependent, and that operations might be performed in time-delocalised subsystems. We argue that this relativity characterises an indefinite metric, which can lead to an indefinite causal structure of events, where whether a given event is in the causal past, causal future or is causally disconnected from another event is not a factual property of the world. We illustrate this fact by using our framework to analyse the gravitational quantum switch^{12}. In view of (iii), one might naively expect that the time evolution with respect to a gravitationally interacting clock A is “noisy” or decoherent. After all, A is expected to get entangled due to its interaction, and its quantum state is expected to become mixed. We show, however, that this view is (quantum) reference frame dependent, and one can find a transformation to the time reference frame of A with respect to which time evolution is unitary. This means, in particular, that if we define an “event” by applying an operation to a quantum system when clock A shows a specific “time”, this operation will be represented, in A’s time reference frame, by its unitary dilation, like in ordinary quantum mechanics with a fixed metric. Therefore, by “jumping” into a suitable time reference frame, quantum operations take their usual form, even if the metric is indefinite. This result resonates with the concept of the “quantum equivalence principle” advocated by Hardy^{9,10}, and can be seen as another example of covariance of physical laws in quantum reference frames^{25}, in a case where the space-time metric is indefinite.

## Results

### Reference frames for events and time evolution

The central idea of this work is that of a time reference frame. By definition, a time reference frame is a quantum temporal reference frame associated to a quantum clock. An observer A uses a time reference frame to define the temporal localisation of events and describe the physics of a system S as it evolves in time, as defined by the quantum clock. By events we mean any quantum operation performed on S. When there is no room for confusion, we will use the same symbol to denote the observer and the clock. To formulate this idea, we consider as a starting point the timeless approach to quantum mechanics^{20,21,28}, in particular the version of ref. ^{21}. In “Methods (Review of the timeless approach to quantum mechanics)” we present summary of the latter formulation (see also refs. ^{23,24} for similar approaches). Mathematically, the evolution of S in the time reference frame of A is encoded in the history state

Here, \({\left|t\right\rangle }_{{\rm{A}}}\) is an eigenstate of the time operator \({\hat{T}}_{{\rm{A}}}\), \({\hat{T}}_{{\rm{A}}}{\left|t\right\rangle }_{{\rm{A}}}=t{\left|t\right\rangle }_{{\rm{A}}}\), and corresponds to clock A showing time *t*. The state \({\left|\psi (t)\right\rangle }_{{\rm{S}}}\), called the reduced state, has the physical interpretation of “the state of system S when clock A shows time *t*”. According to the timeless formulation, \(\left|\Psi \right\rangle\) is subjected to a constraint

from which we obtain \(\left|\Psi \right\rangle\).

We are interested in comparing the temporal localisation of events and the time evolution of a system as “seen” by different time reference frames. For this reason, we consider an extension of the timeless formulation to include more than one clock, say A and B, and a system of interest, S. In our framework, operations on S define events, and each clock labels the temporal localisation of these events and assigns a different time evolution operator to S and the rest of the clocks. In “Methods (Changing time reference frames)” we develop a general framework to change from the evolution operator with respect to A to that with respect to B. Our treatment is compatible with the fact that, in special and general relativity, time is not absolute but rather is defined by the reading of a clock moving along a specific world-line.

Despite our approach being motivated by relativistic physics, it departs from the usual case of special and general relativity, because we do not assume that the space-time metric is fixed. Since a space-time is defined by a manifold and a metric, our clocks and systems are not, strictly speaking, embedded in space-time. Nevertheless, we insist on the operational definition of events with respect to quantum clocks, associating to each clock a reference frame by which we will define “evolution” and “temporal localisation”.

The operational meaning of our framework is depicted in Fig. 1 and further explained in “Methods (Operational meaning of the framework)”. Mathematically, by expressing the history state \(\left|\Psi \right\rangle\) in either the reference frame of A or B, we will be able to track the temporal localisation of events with respect to each reference frame. Although in this paper we focus on the temporal localisation of events, it is natural to assume that A and B have access to an additional set of spatial degrees of freedom, which allows them to operationally localise events in space as well. In the present setup, the inclusion of such (quantum) degrees of freedom can be carried out by the methods developed in ref. ^{25}. In the remaining of this work, whenever we mention the notion of space or distance, we will do so having this context in mind.

### Non interacting clocks

Let us illustrate the above ideas by means of a simple example. Imagine that A and B have two clocks, which interact neither with each other nor with anything else in the experiment. The time measured by each clock corresponds to an operator \({\hat{T}}_{{\rm{I}}}\), for I = A, B. We assume that A and B are perfect clocks: \([{\hat{T}}_{{\rm{I}}},{\hat{H}}_{{\rm{I}}}]=i\), where \({\hat{H}}_{{\rm{I}}}\) is the Hamiltonian of the clock I, for I = A, B. (see “Methods (Review of the timeless approach to quantum mechanics)”). Suppose that A “sets up” an event by means of an interaction between S and her ancilla, a. The event is produced when A’s clock is in a sharp state of \({\hat{T}}_{{\rm{A}}}\) with eigenvalue \({t}_{{\rm{A}}}^{* }\;> \;0\). A similar setting holds for B, with a corresponding time \({t}_{{\rm{B}}}^{* }\;> \;0\) and ancilla b. Under these conditions, the constraint equation describing the experiment is

Here, \({\hat{f}}_{{\rm{A}}}({\hat{T}}_{{\rm{A}}})=\delta ({\hat{T}}_{{\rm{A}}}-{t}_{{\rm{A}}}^{* }){\hat{K}}^{({\rm{A}})}\), where \({\hat{K}}^{({\rm{A}})}\) is a hermitian operator on \({{\mathcal{H}}}_{{\rm{S}}}\otimes {{\mathcal{H}}}_{{\rm{a}}}\), the Hilbert space of the system and A’s ancilla. A similar statement holds for \({\hat{f}}_{{\rm{B}}}({\hat{T}}_{{\rm{B}}})=\delta ({\hat{T}}_{{\rm{B}}}-{t}_{{\rm{B}}}^{* }){\hat{K}}^{({\rm{B}})}\) and the ancilla b. For simplicity of notation, we have left the tensor products implicit in Eq. (3) and written, for example, \({\hat{H}}_{{\rm{A}}}\otimes {{\mathbb{1}}}_{{\rm{R}}}\) simply as \({\hat{H}}_{{\rm{A}}}\) (Here, R (the “rest”) denotes all the systems that are not clocks, namely S, the system of interest, and the ancillas, a and b). We follow this notation throughout the paper. We have assumed that the free Hamiltonian for the system is trivial, \({\hat{H}}_{{\rm{S}}}=0\). In this paper we focus on the case where the events are triggered when the state of the clocks are sharply peaked around a given time. However, more general models are possible by suitably choosing the hermitian-operator-valued functions \({\hat{f}}_{{\rm{I}}}({\hat{T}}_{{\rm{I}}})\), for I = A, B.

The history state in the time reference frame of A reads (see Supplementary Notes 1 and 2)

where \({\mathrm{T}}\) denotes the usual time ordering operator, defined by \({\rm{T}}\hat{f}({s}_{1})\hat{f}({s}_{2})=\Theta ({s}_{2}-{s}_{1})\hat{f}({s}_{2})\hat{f}({s}_{1})+\Theta ({s}_{1}-{s}_{2})\hat{f}({s}_{1})\hat{f}({s}_{2})\), for any operator-valued function \(\hat{f}\) of *s*. Θ(*s*) is the usual Heaviside function, equal to 1 if *s* > 0, 1/2 if *s* = 0, and 0 otherwise. \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{{\rm{A}}}}=\int{\rm{d}}{t}_{{\rm{B}}}^{\prime}\ \varphi ({t}_{{\rm{B}}}^{\prime})\ {\left|{t}_{{\rm{B}}}^{\prime}\right\rangle }_{{\rm{B}}}\otimes {\left|\chi \right\rangle }_{{\rm{R}}}\) is the state of all systems, except clock A, conditioned on clock A being in the state \({\left|t\; = \; 0\right\rangle }_{{\rm{A}}}\). In this work, \(\bar{{\rm{I}}}\), for I = A, B, . . . , denotes all subsystems except for subsystem I. We use primed time variables to refer to the initial state of the clocks. It is physically meaningful to assume that the support of the wave packet of clock B does not overlap with the time defining any of the events. In Supplementary Note 2 we explicitly construct a wave-packet with this feature.

The state \({\left|{\psi }_{{\rm{A}}}({t}_{{\rm{A}}})\right\rangle }_{\bar{{\rm{A}}}}={\left\langle t\right|}_{{\rm{A}}}\cdot \left|\Psi \right\rangle\) represents the state of all systems except clock A, conditioned on clock A being in the state \({\left|t\right\rangle }_{{\rm{A}}}\). Because Eq. (4) contains all such conditional states for each *t*_{A}, the history state \(\left|\Psi \right\rangle\) contains all the information regarding the time evolution and measurements made on system \(\bar{{\rm{A}}}\). Importantly, the history state represented in the time reference frame of A describes the subsystem \(\bar{{\rm{A}}}\) evolving unitarily from the initial state \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{{\rm{A}}}}\), with the evolution operator \(\hat{U}{({t}_{{\rm{A}}})}_{\bar{{\rm{A}}}}={\rm{e}}xp(-i{t}_{{\rm{A}}}{\hat{H}}_{{\rm{B}}})\ T\ {\rm{e}}xp(-i\mathop{\int}\nolimits_{0}^{{t}_{{\rm{A}}}}{\rm{d}}s\ ({\hat{f}}_{{\rm{A}}}(s)+{\hat{f}}_{{\rm{B}}}(s+{\hat{T}}_{{\rm{B}}})))\). By unitarity, the normalisation of \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{{\rm{A}}}}\) is preserved in *t*_{A}.

In Eq. (4), the argument of \({\hat{f}}_{{\rm{A}}}\) is a c-number. This means that, in A’s time reference frame, the time at which operation A is applied is always sharp —it happens at the well-defined time \({t}_{{\rm{A}}}^{* }\). By contrast, the argument of \({\hat{f}}_{{\rm{B}}}\) in Eq. (4) depends on the operator \({\hat{T}}_{{\rm{B}}}\). When \({\hat{f}}_{{\rm{B}}}({\hat{T}}_{{\rm{B}}})\) acts on the initial state \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{A}}\), the argument of \({\hat{f}}_{{\rm{B}}}\) becomes dependent on \({t}_{{\rm{B}}}^{\prime}\), and is therefore modulated by the wave packet \(\varphi ({t}_{{\rm{B}}}^{\prime})\). Assuming that \(\varphi ({t}_{{\rm{B}}}^{\prime})\) is not sharply peaked but rather has a finite width *σ*, this effect will lead to an uncertainty, from the point of view of A, as to when the operation triggered by clock B is applied. The larger the width *σ*, the greater the uncertainty. This effect is easily seen if we write down explicitly the conditional state \({\left|{\psi }_{{\rm{A}}}({t}_{{\rm{A}}})\right\rangle }_{\bar{A}}={\left\langle {t}_{{\rm{A}}}\right|}_{{\rm{A}}}\cdot \left|\Psi \right\rangle\). For simplicity, suppose that \({t}_{{\rm{B}}}^{* }\;<\;{t}_{{\rm{A}}}\;<\;{t}_{{\rm{A}}}^{* }\), so that we do not need to discuss the operation triggered by clock A, which we already know to be sharply localised in A’s time reference frame. A simple calculation yields,

Equation (5) is nothing but a coherent superposition of quantum states, each of them depending on \({t}_{{\rm{B}}}^{\prime}\). The amplitudes of the superposition are given by \(\varphi ({t}_{{\rm{B}}}^{\prime})\). For each of these amplitudes, the (operator valued) function \({\hat{F}}_{{\rm{B}}}({t}_{{\rm{A}}},{t}_{{\rm{B}}}^{\prime}):= \mathop{\int}\nolimits_{0}^{{t}_{{\rm{A}}}}{\rm{d}}s\ {\hat{f}}_{{\rm{B}}}(s+{t}_{{\rm{B}}}^{\prime})=\Theta ({t}_{{\rm{A}}}+{t}_{{\rm{B}}}^{\prime}-{t}_{{\rm{B}}}^{* }){\hat{K}}^{(B)}\) takes different values. In A’s reference frame, B’s operation will already be applied at a given time *t*_{A} only for those amplitudes corresponding to a \({t}_{{\rm{B}}}^{\prime}\) such that \({t}_{{\rm{A}}}\;+\;{t}_{{\rm{B}}}^{\prime}\;> \;{t}_{{\rm{B}}}^{* }\). Because, given a time *t*_{A}, B’s operation will already be applied only for some amplitudes, this analysis clearly shows that the time localisation of B’s operation is uncertain with respect to A. In conclusion, A’s description of the experiment features two events: one is sharply defined at time \({t}_{{\rm{A}}}^{* }\), and the other one, which A describes as triggered by B’s clock, is uncertain, due to the uncertainty of B’s clock (see Fig. 2).

How does the experiment look like from the point of view of B? As can be seen from the equations derived in “Methods (Changing time reference frames)”, the history state in B’s time reference frame is exactly the same as that in A’s, provided that the wave-packet \(\varphi ({t}_{{\rm{B}}}^{\prime})\) is symmetric under the operation *t* ⟶ −*t*. This is not surprising, given the symmetry of Eq. (3). The important point is that B describes the initial state of A’s clock by the same wave packet \(\varphi ({t}_{{\rm{A}}}^{\prime})\). As a consequence of the finite wave-packet width, *σ*, the localisation of A’s operation in time, as defined by B, will have an uncertainty modulated by \(\varphi ({t}_{{\rm{A}}}^{\prime})\) (see Fig. 2b). In contrast, the operation triggered by clock B will be always sharp in B’s time reference frame.

To summarise, from the point of view of a given time reference frame I, a measurement triggered by clock I is always localised in time, while the measurements triggered by the other clocks are, in general, delocalised with respect to *t*_{I}, the local time of clock I. As we will see in the following, this relativity of localisation in time is not only a feature of a “poorly-chosen” initial state. Rather, it is an unavoidable effect when clocks experience time dilation due to their interaction with gravitating quantum systems.

### Evolution with respect to gravitationally interacting clocks

In the previous subsection we have seen how to describe the dynamical evolution and events of a quantum experiment with respect to different quantum clocks, A and B. In our analysis, we made the important assumption that the clocks do not interact with each other. However, practical reasons aside, this assumption must fundamentally break down once the gravitational effects of A and B become significant—gravity is universal and cannot be shielded. Furthermore, the situation becomes all the more radical when we consider the quantum properties of A and B: Any clock, say B, must run in a superposition of different energies of its Hamiltonian, \({\hat{H}}_{{\rm{B}}}\)^{29}. Because energy-momentum determines the metric field via Einstein’s equations, each of these energies corresponds to a different metric background. Therefore, the fact that the state of B is indefinite with respect to the observable \({\hat{H}}_{{\rm{B}}}\) means that the metric background, determined by B, is indefinite, too^{13}. In this situation, how would another clock, say A, describe the time evolution of a quantum experiment?

Here we aim to answer the above question from the point of view of time reference frames. We will show that, even in the lack of a definite space-time background, an operational notion of time evolution can be defined if we “jump” into the time reference frame of a given clock, say A. Importantly, A can interact gravitationally and get entangled with another clock, say B, from the point of view of yet another observer, C. Because the state of A is mixed in C’s frame, one may naively think that the time evolution with respect to A is “noisy” or decoherent. However, we will show that this needs not be the case. We will present a model where, even if C “sees” clock A entangled with clock B due to their gravitational interaction, a consistent notion of “local time” exists in the time reference frame of A, with respect to which time evolution is unitary. This fact is closely related to the result reported in ref. ^{25}, that entanglement and superposition are (quantum) reference frame dependent features.

Let clocks A, B and C be subjected to the constraint

Here, *λ*_{IJ} = −*G*/(*c*^{4}*x*_{IJ}), where *G* is the gravitational constant, *c* is the speed of light, and *x*_{IJ} is the relative distance between clocks I and J. The indices take the values I, J = A, B and C. Eq. (6) describes, to the first order in 1/*c*^{2}, clocks interacting with each other via their gravitational field. Note that, in principle, the relative distances between the clocks, *x*_{IJ}, (and therefore the *λ*_{IJ}s) are quantum operators as well. However, in this work we assume, for simplicity, that the *x*_{IJ}s are c-numbers and that they are time independent (with respect to any clock). This assumption means that the clocks follow semiclassical trajectories and remain at the same relative distance with respect to each other. Under this condition, the *λ*_{IJ}s are c-numbers as well. (This coupling between quantum clocks was introduced in^{13} and was studied in a timeless context in ref. ^{16}).

Let us analyse how time evolution emerges from the point of view of C. In order to do this, we act on Eq. (6) with \({\left\langle \tau \right|}_{{\rm{C}}}\). We obtain

Note that Eq. (7) is not of the form of the Schrödinger equation, and is not the description of time evolution with respect to the proper time of clock C, due to the extra term \(i({\lambda }_{{\rm{A}}{\rm{C}}}{\hat{H}}_{{\rm{A}}}+{\lambda }_{{\rm{B}}{\rm{C}}}{\hat{H}}_{{\rm{B}}}){\partial }_{\tau }\) on the left hand side. Before we complete the "jump" into C’s time reference frame, it is interesting to discuss heuristically the physical meaning of Eq. (7). Consider first the simpler situation of a single quantum system evolving on a fixed space-time background given by the weak field metric d*s*^{2} =−(1 + 2Φ(*x*)/*c*^{2})*c*^{2}d*t*^{2} + d**x** ⋅ d**x**. For a static observer, the state of the system \(\left|\psi \right\rangle\) evolves under the Schrödinger equation \(i{\partial }_{t}\left|\psi \right\rangle =\sqrt{-{g}_{00}}{H}_{{\rm{rest}}}\left|\psi \right\rangle\), where *g*_{00} = −(1 + 2Φ(*x*)/*c*^{2}) and *H*_{rest} is the Hamiltonian in the reference frame where the system is at rest^{30,31}. Note that, for this observer \(\sqrt{-{g}_{00}}=\dot{\tau }\), where *τ* denotes the proper time of the system and the dot denotes derivative with respect to time *t*. Defining \({H}_{{\rm{lab.}}}=\sqrt{-{g}_{00}}{H}_{{\rm{rest}}}\) as the Hamiltonian in the laboratory reference frame, and using the fact that, for a static observer, \({\partial }_{t}=\dot{\tau }{\partial }_{\tau }\), we can rewrite the evolution of the system as

Under the approximation \(\sqrt{-{g}_{00}}\approx 1+\Phi (x)/{c}^{2}\), we see that Eq. (8) is precisely of the form of Eq. (7), for the case where the gravitational potential *Φ* is sourced by a gravitating classical body. We can therefore interpret Eq. (7) as a generalisation of Eq. (8) for the case where the “gravitational potential” is sourced by a gravitating quantum system. With this intuition, the operator in brackets on the left-hand side of Eq. (7) can be interpreted as a “redshift” operator, which, together with the (proper) time derivative operator, forms a “\({\rm{d}}/{\rm{d}}\hat{t}\)” operator with respect to (an operator-valued) coordinate time \(\hat{t}\). Then, explicitly,

(For a rigorous definition of a derivative with respect to an operator, see ref. ^{32}.) This interpretation is tightly related to the idea of a quantum reference frame^{25}, where the set of symmetry transformations is generalised to include reference frames associated to quantum systems. Such transformations are obtained by promoting the parameter associated to the transformation to an operator acting on an additional Hilbert space. In “Methods (Gravitational quantum switch)” and “Methods (Remarks on coordinates for gravitating quantum systems)” we further discuss and analyse the concept of an operator-valued, quantum coordinate time and its transformations in the context of time reference frames.

In order to complete the process of moving into C’s time reference frame, we formally divide by the redshift factor operator in Eq. (7), with the assumption that the energies of the state of the system \(\bar{{\rm{C}}}\) are small enough such that no divergences occur. In “Methods (Remarks on coordinates for gravitating quantum systems)”, we analyse physically the conditions under which divergences do not appear. Under these assumptions, we obtain the Schrödinger Equation in the time reference frame of C:

Eq. (10) shows that, in the time reference frame of C, the evolution of clocks A and B is unitary, despite the fact that there is a non-negligible interaction term between C and the clocks A and B in Eq. (6). Importantly, in C’s reference frame, there is an interaction between A and B, leading in general to entanglement between A and B in the view of C. In order to make this point clearer, let us assume that all *λ*_{IJ}s are small. We obtain, to first order in *λ*_{IJ},

where \({\tilde{H}}_{{\rm{I}}}={\hat{H}}_{{\rm{I}}}(1-{\lambda }_{{\rm{I}}{\rm{C}}}{\hat{H}}_{{\rm{I}}})\), for I = A, B, and \({\tilde{\lambda }}_{{\rm{A}}{\rm{B}}}={\lambda }_{{\rm{A}}{\rm{B}}}-{\lambda }_{{\rm{A}}{\rm{C}}}-{\lambda }_{{\rm{B}}{\rm{C}}}\). Eq. (11) is precisely the Schrödinger equation for two gravitationally interacting clocks, A and B, to the first order in 1/*c*^{2}. Note that, because C is not infinitely far-away from A and B, the Hamiltonians of A and B in C’s frame are blue-shifted from the original Hamiltonians appearing in Eq. (6). In C’s frame, the gravitational coupling between A and B in Eq. (11) is shifted as well.

Nothing in principle prevents us from deriving an analogous equation from the perspective of either A or B. Suppose we were to “jump” into the time reference frame of A. Clearly, under similar assumptions as for the case of C, we would obtain an evolution equation of the form of Eq. (10) (or Eq. (11)) but with the indices A and C interchanged. Because Eq. (10) is a Schrödinger equation, the evolution of B and C in A’s time reference frame is also unitary, even if A gets entangled with B in C’s reference frame. Therefore, in this approach, each quantum clock constitutes a legitimate temporal (quantum) reference frame for which a notion of “evolution with respect to time *τ*” is available. Importantly, this evolution is unitary, regardless of whether the clock is located far away or not from gravitating quantum systems, or whether the clock gets entangled with such gravitating degrees of freedom from the perspective of yet another time reference frame. This result is connected to the fact that, in a relational approach to physics, quantum superposition and entanglement become relative notions^{25,33}. The fact that Eq. (10) maintains the same form when we change from C’s perspective to A’s perspective means that the law for time evolution has a universal covariant form with respect to changes of time reference frames.

### Events with respect to gravitationally interacting clocks

As discussed previously, each clock defines a time reference frame with respect to which a notion of time evolution can be defined. This is true even in the presence of gravitating quantum systems that lead to an indefinite metric background. What is the difference, in terms of the time localisation of events relative to an observer, between a situation with a definite metric background from one where such background is not fixed? Here we address this question by studying how the localisation of operationally defined events depends on the time reference frame. Consider the situation where A sets-up an event in her time reference frame by applying an operation on the system S at a particular time according to her clock. Suppose that the gravitational interaction between A and B is non-negligible. Suppose, for simplicity, that clock C is sufficiently far away from A and B so that we can neglect its gravitational interaction with them. This situation corresponds to the constraint

where *λ* = −*G*/(*c*^{4}*x*_{AB}). Here, \(\hat{f}({\hat{T}}_{{\rm{A}}})\) denotes a hermitian-operator-valued function modelling the interaction between the system of interest, S, and an ancilla a, recording the result of a measurement on S. The presence of the term \((1+\lambda {\hat{H}}_{{\rm{B}}})\), multiplying \(\hat{f}({\hat{T}}_{{\rm{A}}})\), is due to the fact that making S and A’s ancilla interact requires some energy, which will necessarily couple to B due to the universality of gravity.

Let us first analyse the history state in the time reference of C. As shown in Supplementary Note 2, this state is

Here, we have used the notation *τ*_{C} to emphasise that this is the time measured with respect to clock C, i.e., its proper time. Eq. (13) shows that, with respect to C, the event corresponding to the function \(\hat{f}\) is not sharply defined in time, due to the presence of the operators in the argument of \(\hat{f}\) in Eq. (13). Indeed, even if the initial state with respect to C is such that clock A is sharply defined at \({t}_{{\rm{A}}}^{\prime}=0\), the presence of the operator \({\hat{H}}_{{\rm{B}}}\) in the argument of \(\hat{f}\) leads to an uncertainty in the time localisability of the event. More precisely, suppose that the initial state in C’s frame is given by \({\left|{\psi }_{{\rm{C}}}(0)\right\rangle }_{\bar{{\rm{C}}}}={\left|{t}_{{\rm{A}}}^{\prime} = \; 0\right\rangle }_{{\rm{A}}}\otimes \int{\rm{d}}{t}_{{\rm{B}}}^{\prime}\ {\varphi }_{{\rm{B}}}({t}_{{\rm{B}}}^{\prime}){\left|{t}_{{\rm{B}}}^{\prime}\right\rangle }_{{\rm{B}}}\otimes {\left|\chi \right\rangle }_{{\rm{R}}}\) (R denotes the subsystem formed by S and a). Because B is a clock, it cannot be sharp in \({\hat{H}}_{{\rm{B}}}\). Let 1/*σ* ≠ 0 be the characteristic width of \({\tilde{\varphi }}_{{\rm{B}}}({\omega }_{{\rm{B}}})\), the Fourier transform of \({\varphi }_{{\rm{B}}}({t}_{{\rm{B}}}^{\prime})\). The history state of Eq. (13) is a coherent superposition, modulated by \({\tilde{\varphi }}_{{\rm{B}}}({\omega }_{{\rm{B}}})\), of terms containing \(\hat{f}(s(1+\lambda {\omega }_{{\rm{B}}}))\) for different values of *ω*_{B}. This case is mathematically similar to the case studied in the section “Non interacting clocks”, with *ω*_{B} playing the role of \({t}_{{\rm{B}}}^{\prime}\). Because the trigger of the measurement depends on *ω*_{B}, different values of *ω*_{B} correspond to different times at which the event happens (as described by C). Therefore, there will be an uncertainty of order 1/*σ* in the time localisation of the event (with respect to C). In fact, there is a type of uncertainty relation between the accuracy of clock B and the temporal localisability of events defined by clock A: The sharper clock B is localised in \({\hat{T}}_{{\rm{B}}}\), the “fuzzier” the events defined by clock A appear from the point of view of C. This effect is depicted in Fig. 3.

We now change to the time reference frame of A. First, we expand \({\left|{\psi }_{{\rm{C}}}(0)\right\rangle }_{\bar{{\rm{C}}}}\) in the time basis and plug it into Eq. (13). Then, we define the coordinate \({\tau }_{{\rm{A}}}({\tau }_{{\rm{C}}}):= {t}_{{\rm{A}}}^{\prime}+{\tau }_{{\rm{C}}}(1+\lambda {\omega }_{{\rm{B}}})\) and make a change of variables to eliminate *τ*_{C} in favour of *τ*_{A}. In “Methods (Remarks on coordinates for gravitating quantum systems)” we discuss the physical significance of coordinate transformations of this type, which can be understood as quantum coordinate transformations, and analyse them from a geometrical point of view. The history state in the reference frame of A reads (See Supplementary Note 2)

where the relation between the initial state with respect to A, \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{A}}\), and that with respect to C, \({\left|{\psi }_{{\rm{C}}}(0)\right\rangle }_{\bar{{\rm{C}}}}\), can be computed as shown in Methods (General method for changing reference frames). As in the non-interacting case, we assume that the support of the wave packets of clocks B and C do not overlap with the time defining the event.

As we can see from Eq. (14), the description of the history state in the time reference frame of A is such that the event is always sharp in *τ*_{A}—\(\hat{f}\) is a function of the c-number *s* only. By contrast, Eq. (13) shows that the same event is not sharply localised from the point of view of C. This comparison shows that, when clocks interact gravitationally, the localisability of events in time is relative, and depends on the time reference frame which defines the events. Because it is not possible to “shield” gravity, this result suggests that the relativity of event localisability is a general feature of an operational definition of events in experiments with gravitating quantum systems. Moreover, if the interaction between the clocks were turned off, it would be possible to sharply define the time localisation of any event with respect to every time reference frame. The fact that we cannot do that, practical reasons aside, is precisely because we have an indefinite metric background. This discussion suggests that, in this context, we can characterise a definite metric if we can find a time reference frame such that, with respect to it, every event (defined sharply with respect to some clock as we do in this paper) is sharply localised. This fact is deeply related to the result in ref. ^{27}, developed in connection to process matrix framework^{11}. In ref. ^{27} it is shown that the localisability of local operations in a causal reference frame is not absolute if and only if the corresponding process matrix is causally non-separable. For a discussion regarding time reference frames and local operations understood in the context of the process matrix framework see “Methods (Knob settings and external evolution)”.

## Discussion

We have constructed a framework for temporal reference frames that associates a quantum clock to each time reference frame. Within this framework, we have shown that one can consistently define a meaningful notion of quantum operation, time evolution and localisation of events in time with respect to different quantum clocks. Importantly, this is true even in the case where these clocks interact gravitationally and the space-time metric is indefinite. We have studied how these notions change when we go from one time reference frame to another and found situations where the physical description of time evolution is covariant (form invariant) with respect to transformations between time reference frames, in line with ref. ^{25}. Our definition of an event allowed us to show that there is a time reference frame where the description of a given event assumes its familiar form in ordinary quantum mechanics (in terms of a unitary dilation of a quantum operation), even in cases where the metric field is indefinite. In the cases studied, the operations which are not localised with respect to the time reference frame acquire the form of a “quantum controlled unitary dilation”, where the time parameter is replaced by an operator. It would be interesting to know exactly how our approach is related to Hardy’s implementation of a “quantum equivalence principle”^{10}, where he proposes that the causal order can be made definite locally, around any given point.

We have used throughout the concept of a perfect clock. Although unrealistic, perfect clocks allowed us to explore the concepts of time evolution and time localisation of events without the difficulties associated with more realistic clock models. In experiments, these difficulties would clearly have to be taken into account, but the conceptual framework laid out here is independent of such problems. In fact, we consider our results as a basis of a more complete framework to describe phenomena in the absence of a well-defined space-time metric, especially suited for promising experimental realisations, like those proposed in refs. ^{34,35}. In this respect, the formulation of the process matrix framework in the form of ref. ^{27} leads one to speculate that such framework might not even need the explicit consideration of clocks.

An important effect occurs when quantum clocks interact gravitationally. In this case, we have shown that whether an event is localised in time or not depends on the time reference frame chosen. We have argued that the impossibility to find a time reference frame in which all events are local characterises, within our framework, a situation where the metric field is indefinite. This is relevant in the context of in refs. ^{26,27}, where a connection between causal reference frames (or time delocalised subsystems) and pure process matrices^{36} was established. It would be interesting to find out exactly how the frameworks of refs. ^{26,27} relate to our work, especially with the goal of understanding if a quantum violation of causal inequalities^{11} can be achieved with gravitating quantum systems.

In this work, we have assumed that the spatial degrees of freedom of the gravitating quantum systems were in a semiclassical state, so that we could treat them classically. Although this simplification is useful, it would be important to extend our framework beyond this approximation. In a similar vein, it would also be interesting to generalise our framework to cases where terms of higher order in 1/*c*^{2} are included in the gravitational interaction.

Finally, on a more speculative note, our analysis of the gravitational quantum switch in “Methods (Gravitational quantum switch)” and its geometrical description in “Methods (Remarks on coordinates for gravitating quantum systems)” points to the fact that that, at least in the simplified case studied in this work, time reference frame transformations can be thought of as transformations on a space formed by a collection of manifolds, one per each classical solution arising from a different state of the gravitating quantum system. This observation suggests a new, convenient mathematical “arena”, suitable for the analysis of physics with an indefinite metric. It is commonly agreed that, when quantum mechanics and general relativity are put together, the concept of space-time would have to yield to “something else”. We hope that, using operational reasoning along the lines of the one presented in this paper, we can gain some insight into what this “something else” might be.

## Methods

### Review of the timeless approach to quantum mechanics

Let us briefly review the “timeless” approach to quantum mechanics. This approach was proposed by Page and Wootters^{20} and further developed by Giovanetti, Lloyd and Maccone^{21}. Our review follows closely this latter version, which is particularly relevant to our work. A similar approach is developed by covariant quantum mechanics^{23,24}. The basic starting point is the idea that time evolution “emerges” from relational degrees of freedom of quantum systems. Although classical dynamics admits a timeless formulation as well^{22,37}, here we focus on the quantum description, which is the one relevant to our work.

In the timeless formulation, one typically considers a total system composed of a clock, A, and the system of interest (the rest), R. The joint quantum system formed by A and R has a Hilbert space \({\mathcal{H}}={{\mathcal{H}}}_{{\rm{A}}}\otimes {{\mathcal{H}}}_{{\rm{R}}}\), where \({{\mathcal{H}}}_{{\rm{A}}}\) and \({{\mathcal{H}}}_{{\rm{R}}}\), denote the Hilbert spaces of A and R, respectively. The time evolution of R with respect to A is encoded in the “history state”, \(\left|\Psi \right\rangle\), which contains all the information about the correlations between A and R, thus defining the dynamics of R with respect to the clock A. In the timeless approach, \(\left|\Psi \right\rangle\) is subjected to a constraint, \(\hat{C}\), acting on \({\mathcal{H}}\), as indicated in Eq. (2). The space of all states satisfying Eq. (2) is called the physical Hilbert space. Strictly speaking, it is not in general a subspace of the kinematical Hilbert space \({\mathcal{H}}\), because the inner product of the two spaces may differ. A convenient way for obtaining the history state, which we will use later on, is by “projecting” onto the physical Hilbert space, (see, e.g., ref. ^{38})

Eq. (15) gives a solution to Eq. (2) for any given \(\left|\varphi \right\rangle \in {\mathcal{H}}\). \(\hat{P}:= \int{\rm{d}}\alpha \ {e}^{-i\alpha \hat{C}}\) is not a projector in the mathematical sense, hence the quotation marks. In this paper, all integrals without specified limits are to be understood as integrals over \({\mathbb{R}}\).

In order to explain how time evolution emerges from Eq. (2), we analyse the simplest case, in which reading time *t*_{A} on clock A corresponds to measuring the eigenvalue *t*_{A} of an observable \({\hat{T}}_{{\rm{A}}}\), acting on \({{\mathcal{H}}}_{{\rm{A}}}\) in the same way the position operator acts in ordinary quantum mechanics. The joint system A + R obeys the constraint

where the Hamiltonian of the clock, \({\hat{H}}_{{\rm{A}}}\), is canonically conjugate to \({\hat{T}}_{{\rm{A}}}\), \([{\hat{T}}_{{\rm{A}}},{\hat{H}}_{{\rm{A}}}]=i\), and \({\hat{H}}_{{\rm{R}}}\) acts on \({{\mathcal{H}}}_{{\rm{R}}}\).

The ket \(\left|\psi (t)\right\rangle := {\left\langle t\right|}_{{\rm{A}}}\cdot \left|\Psi \right\rangle\) is called the reduced state, and has the physical interpretation of “the state of system R when clock A shows time *t*.” It is easy to see that, by acting on Eq. (16) with \({\left\langle t\right|}_{{\rm{A}}}\cdot\), the Schrödinger equation for \(\left|\psi (t)\right\rangle\) with respect to time *t* follows^{21,28}. (Alternatively, we can find \(\left|\Psi \right\rangle\) directly by means of Eq. (15) and show that the reduced state undergoes a unitary time evolution.) It is in this sense that time evolution is recovered from the “timeless” condition given by Eq. (2). Eq. (16) describes a situation in which time evolution is specified by a “perfect clock”. By definition, a perfect clock is a system satisfying the following: (i) It is associated with an operator \({\hat{T}}_{{\rm{A}}}\), acting on an infinite dimensional Hilbert space \({{\mathcal{H}}}_{{\rm{A}}}\). (ii) Its Hamiltonian, \({\hat{H}}_{{\rm{A}}}\), is canonically conjugate to \({\hat{T}}_{{\rm{A}}}\). Although not realistic (its Hamiltonian is unbounded from below), a perfect clock is a convenient idealisation for the purposes of this paper. It can be considered (although it need not be) as an approximation of an *n*-level finite-dimensional system in the limit where *n* is very large^{39}. In this work we use the concept of a perfect clock as a convenient abstraction, which will help us to capture the essential features of the time-ordering of events and time evolution in the presence of gravitating quantum systems. By using this abstraction, we can circumvent the difficulties associated to defining the time localisation of events with realistic clocks^{40}, and focus on the status of the notion of an event and its “space-time” localisation in the absence of a definite gravitational field.

Describing measurements performed at multiple times in the timeless framework is a subtle issue. Naively applying the projection postulate of quantum mechanics to \(\left|\Psi \right\rangle\) would, in general, produce a post-measurement state that violates Eq. (2). However, as noted in refs. ^{21,24}, a consistent way of describing multiple measurements in a timeless framework is to “purify” them. This means dividing the subsystem R into the system of interest, S, and a set of ancillary systems {a_{i}}. The ancilla a_{i} acts as measurement device that records the information about the i-th measurement performed on S. The purification consists in modelling the measurement on S by explicitly including an interaction Hamiltonian between S and the ancillary systems a_{i} in the constraint \(\hat{C}\). After the interaction, the result of the measurement is revealed by independently measuring in the state of the ancillas. For example, a simple model of a multiple-time measurement, happening at times *t*_{1} and *t*_{2}, with *t*_{1} < *t*_{2}, corresponds to the constraint equation

Here, \({\hat{H}}_{{\rm{S}}}\) is the free Hamiltonian of the system of interest, S, *δ* denotes the Dirac delta distribution, and \({\hat{K}}^{({\rm{i}})}\), for \({\mathrm{I}}\) = 1, 2, is an operator acting on \({{\mathcal{H}}}_{{\rm{S}}}\otimes {{\mathcal{H}}}_{{{\rm{a}}}_{{\rm{i}}}}\), where \({{\mathcal{H}}}_{{{\rm{a}}}_{{\rm{i}}}}\) is the Hilbert space associated to the i-th ancilla. The history state describes measurement interactions between the system S and the ancillas a_{i}. These interactions are sharply localised at times *t*_{1} and *t*_{2}. At times where the interactions are turned off, S evolves freely under the Hamiltonian \({{\mathcal{H}}}_{S}\)^{21}.

The probabilities for the results of measurements are given by projecting the history state only once. For example, the probability for obtaining a result a_{1}, corresponding to the measurement performed at *t*_{1}, and a result a_{2}, corresponding to the measurement performed at *t*_{2}, given that clock A shows a time *t* > *t*_{2}, is^{21}:

By assumption, the state \(\left|\psi (t)\right\rangle := \left\langle t| \Psi \right\rangle\) is normalised to one. Note that there is nothing special about the choice of time *t* > *t*_{2}. If one wishes, one can also compute the probabilities for the outcome of the first measurement only, by projecting at a time *t*_{1} < *t* < *t*_{2}. Moreover, if one is interested in measurements at times \({t}_{1}^{\prime}\) and \({t}_{2}^{\prime}\), different from *t*_{1} and *t*_{2}, one can simply replace *t*_{1} and *t*_{2} by \({t}_{1}^{\prime}\) and \({t}_{2}^{\prime}\) in Eq. (17), and compute the desired probabilities by means of Eq. (18).

### Changing time reference frames

Here we develop a method for computing the history state for one observer, say A, given the history state with respect to another observer, say C. In Supplementary Note 2, we find all the history states studied in this paper by group averaging—using Eq. (15). This leads to the “perspective neutral” representation of \(\left|\Psi \right\rangle\), which we use to “jump” into the time reference frame of A. The perspective neutral representation offers an approach for changing from the time reference frame of A to that of B. Moreover, it underscores the interesting fact that “jumping” into a (classical or quantum) reference frame amounts to fixing the redundant degrees of freedom imposed by the constraint \(\hat{C}\) (see refs. ^{17,41,42,43,44,45}). It may happen that one wishes to change from the time reference frame of A to that of B without explicitly computing the perspective neutral representation of \(\left|\Psi \right\rangle\), as we do in Supplementary Note 2. Here, we find explicit equations that allow us to do so. Note that the two ways of computing the history state give the same result. This fact was pointed out recently in ref. ^{46}, which builds upon the method for changing relational quantum clocks via a sequence of “trivialisation maps” developed in ref. ^{17}.

As noted in the main text, the timeless approach is based on a constraint given by Eq. (2). We can obtain \(\left|\Psi \right\rangle\), the solution to Eq. (2), by “projecting” an arbitrary state \(\left|\varphi \right\rangle\) onto the space of solutions of Eq. (2), as done in Eq. (15). That is

where \(\hat{P}=\int{\rm{d}}\alpha \ {\rm{e}}xp(-i\alpha \hat{C})\). Strictly speaking, \(\hat{P}\) is not a projector: it maps the kinematical Hilbert space \({\mathcal{H}}\) onto a physical Hilbert space formed by solutions of Eq. (2). As mentioned before, the physical Hilbert space is, in general, not isomorphic to the kinematical one, because the inner products of each space might be different to each other.

We can extract operationally meaningful physical predictions from \(\left|\Psi \right\rangle\) by expressing it in a specific time reference frame (say A or C, for concreteness). As we have seen in the main text, there are interesting cases where the time evolution with respect to either A or C is unitary. In these cases, we have

where I can be either A or C (the time reference frames analysed in the main text), and \({\hat{U}}_{\bar{{\rm{I}}}}(t-{t}^{\prime})\) is the evolution operator in the time reference frame of I. This operator is unitary and acts on all degrees of freedom except for I’s. Like all evolution operators, it satisfies the composition property: \({\hat{U}}_{\bar{{\rm{I}}}}(t-{t}^{\prime})={\hat{U}}_{\bar{{\rm{I}}}}(t){\hat{U}}_{\bar{{\rm{I}}}}(-{t}^{\prime})={\hat{U}}_{\bar{{\rm{I}}}}(t){\hat{U}}_{\bar{{\rm{I}}}}^{\dagger }({t}^{\prime})\). We will focus on the cases where Eq. (20) holds.

We can express \(\left|\Psi \right\rangle\) it in the time reference frame of C by plugging \(\left|\varphi \right\rangle =\int\ {\rm{d}}{t}_{{\rm{C}}}^{\prime}{\left|{t}_{{\rm{C}}}^{\prime}\right\rangle }_{{\rm{C}}}\otimes {\left|{\psi }_{{\rm{C}}}({t}_{{\rm{C}}}^{\prime})\right\rangle }_{\bar{{\rm{C}}}}\) into Eq. (19), and then inserting a resolution of the identity, \({\mathbb{1}}=\int{\rm{d}}{t}_{{\rm{C}}}\ \left|{t}_{{\rm{C}}}\right\rangle \,{\left\langle {t}_{{\rm{C}}}\right|}_{{\rm{C}}}\) on the right hand side of \(\hat{P}\). Using Eq. (20), we obtain

where

Note that we have used the composition property of \({\hat{U}}_{\bar{{\rm{C}}}}\) in order to write down Eqs. (21) and (22). Note also that, when introducing the resolution of identity, we have assumed that, in the physical Hilbert space, the integration measure in the position (or rather time) representation is given by d*t*_{C}. This is the case in all instances considered in this work and we will assume it in the following. In more general cases, one simply has to consider the specific form of the integration measure when inserting resolutions of identity in the time representation. In general, because the state \({\left|{\psi }_{{\rm{I}}}(0)\right\rangle }_{\bar{I}}\) evolves unitarily with respect to an arbitrary clock I, its normalisation is preserved in time with respect to this arbitrary frame.

We can obtain \(\left|\Psi \right\rangle\) in the time reference frame of C in different ways. For example, we can obtain first \(\left|\Psi \right\rangle\) in a “perspective neutral” representation, by computing explicitly the integral with respect to *α* in Eq. (19), and afterwards, by using the methods of refs. ^{17,41,45}, we can “jump” into the reference frame of C. Alternatively, we can carry out explicitly the computations leading from Eq. (19) to Eq. (21), or we can act with \({\left\langle {t}_{{\rm{C}}}\right|}_{{\rm{C}}}\cdot\) on Eq. (2) and solve the resulting differential equation. In any case, suppose we are given \(\left|\Psi \right\rangle\) in the time reference frame of C, that is, in the form of Eq. (21), and we would like to change the representation to the time reference frame of A. We can do so directly by noting that

Therefore, by Eq. (20), we have

Note that Eq. (24) allows us to obtain the (unitary) evolution operator in the time reference frame of A directly from the evolution operator in the reference frame of C. All we need to obtain \(\left|\Psi \right\rangle\) in the time reference frame of A is an equation for the initial state with respect to A, \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{A}}\), in terms of that of C. But this is easy because, by definition, \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{A}}={\left\langle {t}_{{\rm{A}}} = \; 0\right|}_{{\rm{A}}}\cdot \left|\Psi \right\rangle\). Then, by Eq. (21), we have

Equations (24) and (25) are all we need to change the time reference frame representation of \(\left|\Psi \right\rangle\). Note that, in principle, \({\hat{S}}_{{\rm{A}}{\rm{C}}}=\int{\rm{d}}{t}_{{\rm{C}}}\ {\left|{t}_{{\rm{C}}}\right\rangle }_{{\rm{C}}}\otimes \ {\left\langle {t}_{{\rm{A}}} = \; 0\right|}_{{\rm{A}}}{\hat{U}}_{\bar{{\rm{C}}}}({t}_{{\rm{C}}})\), which transforms between the initial states of C and A in Eq. (25), need not be unitary. In the simplest case, where \(\hat{{\mathcal{C}}}={\hat{H}}_{{\rm{A}}}+{\hat{H}}_{{\rm{C}}}+{\hat{H}}_{S}\), we have

where \({{\mathcal{P}}}_{{\rm{A}}{\rm{C}}}:= \int{\rm{d}}{t}_{{\rm{C}}}\ {\left|{t}_{{\rm{C}}}\right\rangle }_{{\rm{C}}}{\left\langle -{t}_{{\rm{C}}}\right|}_{{\rm{A}}}\) is the parity-swap operator between C and A. Note that this transformation matches exactly the transformation introduced in ref. ^{25}, for transforming between two spatial quantum reference frames.

Finally, if we wish to change from the reduced state at time *t*_{C} in C’s frame, \({\left|{\psi }_{{\rm{C}}}({t}_{{\rm{C}}})\right\rangle }_{\bar{{\rm{C}}}}={\left\langle {t}_{{\rm{C}}}\right|}_{{\rm{C}}}\cdot \left|\Psi \right\rangle\), to the reduced state at time *t*_{A} in A’s frame, \({\left|{\psi }_{{\rm{A}}}({t}_{{\rm{A}}})\right\rangle }_{\bar{A}}={\left\langle {t}_{{\rm{A}}}\right|}_{{\rm{C}}}\cdot \left|\Psi \right\rangle\), we simply have to put together Eqs. (21) and (25):

In general, this transformation is not unitary, because \({\hat{S}}_{{\rm{A}}{\rm{C}}}\) is not always unitary.

### Operational meaning of the framework

Here we explain in detail the operational meaning of our framework, described briefly in Reference frames for events and time evolution. In Fig. 1, two observers, A and B, perform experiments on a quantum system S. Each of them possess a clock and an ancilla, labeled a for A and b for B.

The experiment has two stages, “preparation” and “detection”. In the preparation stage, A and B prepare the states of their clocks, ancillas and systems. They can, for example, choose to set their clocks at *t* = 0, and set S in a particular state. S can be a composite system with subsystems accessible to A and B, and the observers can prepare S in an entangled state in the partition defined by these subsystems. In the detection stage of the experiment, A and B analyse the measurement results by looking at the outcome of their clocks and ancillas. For example, they might be interested in checking whether the ancillas are in a certain state at a given time, as defined by one of the clocks. Alternatively, they might project one of the clocks, say A, in a specific basis, which need not be the time basis \(\{{\left|{t}_{{\rm{A}}}\right\rangle }_{{\rm{A}}}\}\).

The clocks and ancillas allow A and B to produce events localised in time, as defined by the reading of their own clocks. For the purposes of this work, an event consists in any quantum operation performed on a quantum system, conditioned on one of the clocks being in a state which is sharply localised around a specific time. For example, A can perform an experiment such that, when her clock shows time \({t}_{{\rm{A}}}^{* }\), an entangling unitary \(\hat{U}\) between S and a occurs, recording information of S in a. If the outcome of a reveals information about S, the event corresponds to a measurement of S by means of a. An event is not necessarily a measurement. For example, the application of a unitary operation on S alone is also an event. However, in order for this event to be defined operationally, the information that such unitary took place has to be recorded in a physical system (a counter) to which A and B have access in the detection stage. For example, the counter can be a two-level system which shows 1 if the unitary has been applied and shows 0 otherwise. Our definition of “event” is adapted to the features of general relativity, where diffeomorphism invariance means that points in space-time have no physical meaning on their own, and events have to be defined via coincidences of physical fields^{8,47}.

In this work we insist on such an operational definition of events even in the case where no space-time background is assumed. That is, we consider the general case where A and B do not assume that the experiments take place in a specific, well-defined causal structure. This could be because of practical reasons—they might have only a probabilistic knowledge about the space-time geometry where the experiments take place—or because of fundamental reasons—they might do experiments involving gravitating quantum systems, which can lead to situations with indefinite causal structure^{12}. In any case, A and B know that they can make quantum mechanical predictions by using the timeless approach to quantum mechanics, and are able to verify which is the constraint equation and the history state corresponding to their experiments. By keeping track of the different events in the experiment, and comparing the times at which these events occur with respect to their own clocks, A and B can assign a time coordinate to each event. In this way, they can define a “mapping” of the set of events into “space-time”, as shown in Fig. 1.

After repeating the experiment several times, A and B will be able to track the time, relative to their respective clocks, at which the events occur. For example, B can find that the aforementioned unitary \(\hat{U}\) takes place sharply when his clock shows the time \({t}_{{\rm{B}}}^{* }\), which in general differs from \({t}_{{\rm{A}}}^{* }\). In the case where the event corresponds to a measurement, B can identify such event in terms of a statement like “at time \({t}_{{\rm{B}}}^{* }\) a measurement was performed on S yielding the result ‘up’”.

### Gravitational quantum switch

In this section we analyse the gravitational quantum switch^{12} from the perspective of time reference frames. The gravitational switch is a thought-experiment where a gravitating body put in a quantum superposition of positions leads to an indefinite causal order of events. The experimental set up is as follows (see Fig. 4). Two parties, A and B, perform operations on a quantum system S (one operation each party). Each operation happens when the corresponding local clock shows time *t*^{*}. Apart from A and B’s clocks, there is a mass M, prepared in a superposition of two different position eigenstates, labeled by L (left) and R (right), as described in the reference frame of C. Note that here R stands for “right”, in contrast to the rest of the paper, where it stands for “rest”. We assume that the superposition has the same weight for L and R. Each amplitude L and R leads to two different metric fields, and therefore to two different space-times. It is useful to keep track of the two different space-times explicitly, by denoting them \({{\mathcal{M}}}_{{\rm{L}}}^{({\rm{C}})}\) (for the mass on the left) and \({{\mathcal{M}}}_{{\rm{R}}}^{({\rm{C}})}\) (for the mass on the right). The experimental set up is such that, for the amplitude corresponding to L (R), M is closer to A (B). Because of gravitational time dilation, in the spacetime \({{\mathcal{M}}}_{{\rm{R}}}^{(C)}\) (\({{\mathcal{M}}}_{{\rm{L}}}^{(C)}\)), the event where A’s clock shows *t*^{*} and A acts on S is in the past (future) light cone of the event where B’s clock shows *t*^{*} and B acts on S. Thus, the gravitational switch leads to a superposition of causal orders. For simplicity, we assume that the distance between M and A in the configuration given by L is the same as the distance between M and B in the configuration given by R, and the distance between A and B is constant.

We now use the framework of time reference frames to analyse and give a geometric description of the gravitational switch. We proceed by writing down the constraint describing the experiment and then comparing the history state in the reference frame of C to that in the reference frame of A (the case of B is analogous to that of A). The Hilbert space of the whole system is \({\mathcal{H}}={{\mathcal{H}}}_{{\rm{A}}}\otimes {{\mathcal{H}}}_{{\rm{B}}}\otimes {{\mathcal{H}}}_{{\rm{C}}}\otimes {{\mathcal{H}}}_{{\rm{S}}}\otimes {{\mathcal{H}}}_{{\rm{a}}}\otimes {{\mathcal{H}}}_{{\rm{b}}}\otimes {{\mathcal{H}}}_{{\rm{M}}}\), where A, B, and C denote the clocks of the three different time reference frames, S is the system on which A and B perform operations, and a and b are the ancillas that record the measurement outcomes of A and B, respectively. M denotes the relative degrees of freedom between the massive system and the clocks. For simplicity, we focus on the subspace generated by relative position eigenstates, labeled by Q = L, R, denoting “mass close to A” and “mass close to B”, respectively. In the framework of time reference frames, this experiment is described by the constraint equation

where I takes the values A, B and C. We consider sharply localised measurements, \({\hat{f}}_{{\rm{A}}}({\hat{T}}_{{\rm{A}}})=\delta ({\hat{T}}_{{\rm{A}}}-{t}^{* }){\hat{K}}_{{\rm{S}}{\rm{a}}}^{({\rm{A}})}\), with an analogous definition for B. By assumption, \({\hat{f}}_{{\rm{C}}}=0\). Here, \({\hat{\Phi }}_{{\rm{I}}}=-GM/({c}^{2}{\hat{x}}_{{\rm{I}}{\rm{M}}})\) denotes the gravitational potential, *M* is the mass of the system put in a superposition of locations, and \({\hat{x}}_{{\rm{I}}{\rm{M}}}\) is the relative distance operator between the mass and clock I. By definition, the operator \({\hat{\Phi }}_{{\rm{I}}}\) acts on \({{\mathcal{H}}}_{{\rm{M}}}\) as \({\hat{\Phi }}_{{\rm{I}}}{\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}={\Phi }_{{\rm{I}}}^{{\rm{Q}}}{\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}\). Note that \({{\mathcal{H}}}_{{\rm{M}}}\) is generated by the eigenstates of the operators \({\hat{x}}_{{\rm{I}}{\rm{M}}}\), for I = A, B, C. The states \({\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}\) are therefore eigenstates of each \({\hat{x}}_{{\rm{I}}{\rm{M}}}\), for I = A, B, C. For simplicity, we assume that C is located equidistant from both locations of the mass, so that \({\Phi }_{{\rm{C}}}^{{\rm{L}}}={\Phi }_{{\rm{C}}}^{{\rm{R}}}=:{\Phi }_{{\rm{C}}}\).

Let us now find the history state, \(\left|\Psi \right\rangle\), of Eq. (28) in the reference frames of A and C. In this case it is instructive to find first \(\left|\Psi \right\rangle\) in a “perspective neutral” representation, and then use this representation to move to the time reference frames of A and C. By inserting the constraint \(\hat{C}\) of Eq. (28) into Eq. (15) we find (see Supplementary Note 1)

The description of the quantum switch given in Eq. (29) can be roughly interpreted as the quantum state seen by a distant observer who uses the coordinate *α* as parameter time. (More precisely, if we introduce yet another party, which is sufficiently far away that it effectively does not interact with the rest, the description of the quantum switch would be given by Eq. (29) plus the additional degrees of freedom of the non-interacting party). However, this interpretation is not physically rigorous, because the constraint (28) implies that there is no external time parameter according to which the systems evolve. For this reason, we write down the history state from the perspective of C. In order to do so, we expand \(\left|\varphi \right\rangle\) in the \({\left|{t}_{{\rm{A}}}^{\prime},{t}_{{\rm{B}}}^{\prime},{t}_{{\rm{C}}}^{\prime}\right\rangle }_{{\rm{A}}{\rm{B}}{\rm{C}}}\otimes {\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}\otimes {\left|\chi \right\rangle }_{{\rm{Sab}}}\) basis and follow the steps outlined in Supplementary Note 2. The result is

where the sum is over I = A, B. We have defined \(\hat{\Delta }({\rm{I}}, \, {\rm{J}}):= (1+{\hat{\Phi }}_{{\rm{I}}})/(1+{\hat{\Phi }}_{{\rm{J}}})\), for I, J = A, B, C. Note that \(\hat{\Delta }({\rm{I}},{\rm{J}})\) is the operator version of the usual redshift factor, formed by the ratio of the proper time of clock I to that of clock J. We denote the eigenvalues of \(\hat{\Delta }({\rm{I}},{\rm{J}})\) by Δ^{Q}(I, J), where \(\hat{\Delta }({\rm{I}},{\rm{J}}){\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}={\Delta }^{{\rm{Q}}}({\rm{I}},{\rm{J}}){\left|{\rm{Q}}\right\rangle }_{{\rm{M}}}\). In this way, Δ^{Q}(I, J) is the ratio of the proper time of clock I to that of clock J in the mass configuration Q. As in previous cases, we assume that the initial state, \({\left|{\psi }_{{\rm{C}}}(0)\right\rangle }_{\bar{{\rm{C}}}}\), has both clocks A and B sharply localised around *t*_{A} = *t*_{B} = 0. The reason for this assumption is simply that we are more interested in the effects due to the gravitating quantum system M than in those due to the “fuzziness” of the initial state. The relation between \(\left|\varphi \right\rangle\) and the initial state \({\left|{\psi }_{{\rm{C}}}(0)\right\rangle }_{\bar{{\rm{C}}}}\) is given in Supplementary Note 2.

The fact that \(\hat{\Delta }({\rm{I}},{\rm{C}})\) is an operator acting on \({{\mathcal{H}}}_{{\rm{M}}}\) has important consequences for the localisation of events in the reference frame of C. Indeed, the time ordering operator in Eq. (30) enforces that the operations of A and B are applied in different orders for the amplitudes corresponding to Q = L and Q = R. Specifically, for Q = L (Q = R) we have Δ^{L}(A, C) < Δ^{L}(*B*, *C*) (Δ^{R}(A, C) > Δ^{R}(B, C)), so that A’s operation is applied after (before) B’s. Note that, for simplicity, we are working in an approximation where a given event is in the causal past of another one if the time associated to the former is earlier than the time associated to the latter. In Supplementary Note 2 we comment on a possible way of taking a more complete approach, in terms of the light cones emanating from each event. In the present case, our simplification just means that, by assumption, the event triggered by clock A in the configuration Q = L (Q = R) is in the future light cone (past light cone) of the event triggered by clock B.

We now compute the reduced state of system \(\bar{{\rm{C}}}\), \({\left|\psi ({\tau }_{{\rm{f}}})\right\rangle }_{\bar{{\rm{C}}}}:= {\left\langle {\tau }_{{\rm{f}}}\right|}_{{\rm{C}}}\cdot \left|\Psi \right\rangle\), at a time *τ*_{f} > *t**/Δ^{R}(A, C) = *t**/Δ^{L}(B, C), when both operations have already occurred in C’s time reference frame. From Eq. (30), we have

where \({\left|{\phi }_{{\rm{Q}}}\right\rangle }_{{\rm{A}}{\rm{B}}}{ = \bigotimes }_{{\rm{I}} = {\rm{A}},{\rm{B}}}{\left|{t}_{{\rm{I}}}^{\prime}+{\Delta }^{{\rm{Q}}}({\rm{I}},{\rm{C}})({\tau }_{{\rm{f}}}-{t}_{{\rm{C}}}^{\prime})\right\rangle }_{{\rm{I}}}\), for Q = L, R. Here, the operator \({\hat{U}}_{{\rm{aS}}}^{{\rm{A}}}={\rm{e}}xp(-i{\hat{K}}_{{\rm{aS}}}^{{\rm{A}}})\) represents the interaction by which the outcome of the event “the system S is measured when clock A shows *t* = *t**” is recorded in the ancilla a. Although this operator is time independent, we have written in both amplitudes the time, in C’s reference frame, at which it was applied. This is in order to emphasise the time labelling of events in this reference frame. Similar remarks hold for the case of B. The state of Eq. (31) is nothing but the familiar description of the quantum switch^{48} after the local operations of A and B have been performed and before the control system, formed in this case by the mass and the clocks of A and B, is recombined.

The description of the experiment according to the time reference frame of C is depicted in Fig. 5, where we have used two different manifolds to depict the two different space-times \({{\mathcal{M}}}_{{\rm{L}}}^{({\rm{C}})}\) and \({{\mathcal{M}}}_{{\rm{R}}}^{({\rm{C}})}\). As the figure shows, no event happens sharply localised in time according to C. Rather, the event corresponding to A occurs in a superposition in time between *τ*_{C} = *t**/Δ^{R}(A, C) (early) and *τ*_{C} = *t**/Δ^{L}(A, C) (late), with a similar statement applying to the case of B. Note that, according to our framework and its physical interpretation, the claim that the events in the switch experiment “involve 4 spacetime points” is a frame dependent statement—valid for C in this case. This is the natural picture of the gravitational switch that emerges if one imagines the experiment as seen by an observer far-away from the mass. However, note that, in our analysis, no assumptions regarding the distance from C to M were needed in order to obtain this description. Of course, we work with states on \({{\mathcal{H}}}_{{\rm{M}}}\) such that no divergences in the redshift factors Δ^{Q}(I, J)) occur. This is ensured as long as *x*_{IM} > *G**M*/*c*^{2} (the order of magnitude of the Schwarzschild radius corresponding to a mass of magnitude *M*.)

Let us now turn to the description of the experiment in the time reference frame of A (the case for B being completely analogous). From Eq. (29), the quantum controlled change of coordinates \(\alpha\;\longrightarrow\;{\tau }_{{\rm{A}}}:= {t}_{{\rm{A}}}+\alpha (1+{\phi }_{{\rm{A}}}^{{\rm{Q}}})\) gives the history state in A-representation

where the index I in the exponent takes values I = B, C. The relation between \({\left|{\psi }_{{\rm{A}}}(0)\right\rangle }_{\bar{A}}\) and the state \(\left|\varphi \right\rangle\) is found explicitly in Supplementary Note 2.

Note that the argument of \({\hat{f}}_{{\rm{A}}}\) in Eq. (32) does not depend on any redshift factor, classical or quantum. This means that, according to A, her operation is always localised in time. This fact can be seen clearly when writing down the conditional state \({\left|\psi ({\tau }_{{\rm{f}}})\right\rangle }_{\bar{A}}:= {\left\langle {\tau }_{{\rm{f}}}\right|}_{{\rm{A}}}\cdot \left|\Psi \right\rangle\) for a time *τ*_{f} > *t**/Δ^{R}(B, A):

For simplicity of notation, we have written *τ*_{f} to refer to the “final” time when analysing the experiment both from A’s (Eq. (33)) and C’s (Eq. (31)) perspective. However, these two times need not be the same. Note that here \({\left|\phi \right\rangle }_{{\rm{C}}}={\left|{t}_{{\rm{C}}}^{\prime}+\; \Delta ({\rm{C}},{\rm{A}})({\tau }_{{\rm{f}}}-{t}_{{\rm{A}}}^{\prime})\right\rangle }_{{\rm{C}}}\) factors out from the mass degrees of freedom due to the assumption \({\Phi }_{{\rm{C}}}^{{\rm{L}}}={\Phi }_{{\rm{C}}}^{{\rm{R}}}\). On the other hand, the state of clock B is entangled with the mass. The important point is that, in Eq. (33), the operation \({\hat{U}}_{{\rm{aS}}}^{{\rm{A}}}\) depends only on *t** in both amplitudes Q = L, R. As noted before, this means that the operation happens sharply at *t*^{*} in the reference frame of A, independent of where the mass is. However, the operation \({\hat{U}}_{{\rm{bS}}}^{{\rm{B}}}\) occurs before (after) \({\hat{U}}_{{\rm{aS}}}^{{\rm{A}}}\) for the configuration Q = L (Q = R). Therefore, for A, events in the vicinity of her clock are always well defined in time, whereas events outside this vicinity are “spread out” in her time^{27}. As noted in the previous Section, this is a signature of an indefinite metric field. An indefinite metric field can lead to an indefinite causal order of events if, like in this case, the events are suitably chosen.

The situation described by Eqs. (32) and (33) is depicted in Fig. 6, where a geometric description of the experiment from the point of view of A is given. As noted before, A’s operation takes place at time *t*^{*} in both amplitudes.

### Remarks on coordinates for gravitating quantum systems

Let us make a few (speculative) remarks regarding our treatment of coordinates:

- 1.
(Reference frames associated with a set of manifolds.) The geometric picture of the gravitational switch shown in Figs. 5 and 6 suggests that a time reference frame should not be considered as “attached” to a single space-time manifold. Rather, a time reference frame should be defined “transversally”, by “piercing” through the different manifolds. This resonates with Hardy’s idea

^{10}of quantum coordinate systems as an identification of points along different manifolds (this is depicted by the black, dashed lines in Figs. 5 and 6, which identify the time*t** in the two different space-times). - 2.
(Hypersurfaces of constant

*t*.) The previous remark suggests that, when writing a history state in the form \(\left|\Psi \right\rangle =\int{\rm{d}}t\ \left|t\right\rangle \otimes \left|\psi (t)\right\rangle\), the ket \(\left|\psi (t)\right\rangle\) should not be interpreted as a state living on (the Hilbert space corresponding to a spatial slice of) a single spacetime, but rather on the hypersurface of “constant*t*” that “pierces” through the set of manifolds. The state on a single manifold is obtained by restricting \(\left|\psi (t)\right\rangle\) to a single spacetime. (For the gravitational switch, this restriction would correspond to, roughly speaking, “projecting” into the subspace corresponding to the spacetime where the mass is, say, on the right.) - 3.
(Signature of an indefinite metric and robustness of the global causal structure) We emphasise that, in experiments involving gravitating quantum systems, the fact that events are delocalised in time with respect to some observers is a signature of an indefinite metric field—ignoring uncertainties due to “fuzzy” clock pointers and measurement interactions extended in time. More specifically, if the metric field is indefinite, one cannot, in general, change to a time reference frame where all events are localised in time. For example, in the gravitational switch, localising the event of A means that the event of B is uncertain in time. However, time reference frame transformations cannot change the global causal structure of the events in an experiment (either form A’s or C’s perspective, there is an amplitude where A’s event is in the past of B’s and an amplitude where A’s event is in the future of B’s). In other words, the localisability of a single event in time is a relative concept, whereas the global causal structure of events is an absolute one. This is reminiscent of what happens in the case of process matrices, where continuous and reversible transformations do not modify the global causal order of a process matrix

^{49}. - 4.
(Geometric “arena” for superpositions of semiclassical states.) We point out that the above geometric picture, with multiple manifolds identified by time reference frames “piercing” through them, suggests a new suitable geometric “arena” in which phenomena with “superpositions of spacetimes” can be studied mathematically, at least in the case where the gravitating quantum systems are in a quantum superposition of semiclassical states. It would be interesting to investigate if an extension of this geometric picture can be useful beyond this case as well.

- 5.
(Quantum coordinates.) It is interesting to note that we can understand the application of operations in Eq. (13) as being done with respect to a “quantum coordinate”. Specifically, following the definition of an integral with respect to an operator given in non commutative analysis

^{32}, we note that the integral part of the exponent in Eq. (13) can be written as \(\mathop{\int}\nolimits_{0}^{{\tau }_{{\rm{C}}}}{\rm{d}}s(1+\lambda {\hat{H}}_{{\rm{B}}})\ \hat{f}(s(1+\lambda {\hat{H}}_{{\rm{B}}})+{\hat{T}}_{{\rm{A}}})=\mathop{\int}\nolimits_{0}^{{\tau }_{{\rm{C}}}}{\rm{d}}{\hat{\tau }}_{{\rm{A}}}\ \hat{f}({\hat{\tau }}_{{\rm{A}}})\), where \({\hat{\tau }}_{{\rm{A}}}=s(1+\lambda {\hat{H}}_{{\rm{B}}})+{\hat{T}}_{{\rm{A}}}\) is the “quantum coordinate” upon which the integral is defined. This is the integral version of the “derivative” with respect to a quantum coordinate expressed by Eq. (9). - 6.
(Quantum-controlled change of coordinates.) Now we comment on the change of coordinates that eliminates

*τ*_{C}in favour of*τ*_{A}, leading from Eq. (13) to Eq. (14). Although mathematically very simple, this change of variables has an important physical interpretation. Because it associates a different*τ*_{A}to different amplitudes of the state of clock B, this change of coordinates is quantum-controlled by the state of B. Note that B is a source of the gravitational field, and is in a state which contains different amplitudes corresponding to different energies. Importantly, each of these energies corresponds to a different metric field, and therefore, to a different space-time. Then, the change of coordinates that goes from C’s to A’s frame associates different values of*τ*_{A}to different metric fields, each of which corresponds to a different amplitude in B’s state. In this sense, it is more general than the usual coordinate transformations in general relativity, where there is a fixed metric and therefore a single amplitude. - 7.
(No-divergence condition.) Finally, as in “Evolution with respect to gravitationally interacting clocks”, we assume that the wave packet of B’s clock is such that no divergences occur in the denominator \(1+\lambda {\hat{H}}_{{\rm{B}}}\). It is easy to check that the condition for no divergences implies that \(\xi {x}_{{\rm{A}}{\rm{B}}}\;> \;{l}_{P}^{2}\), where

*ξ*=*c**σ*is the characteristic with of the wave packet*φ*_{B}in units of length, and \({l}_{P}^{2}=\hslash G/{c}^{3}\) is the Planck area. The fact that the divergences occur at the Planck length is consistent with the widely-held view that, at this scale, typical quantum gravity effects become predominant.

### Knob settings and external evolution

It is important to distinguish two different types of terms playing different roles in the constraint equations appearing in the main text. For example, consider Eq. (3), which has two different type of terms. On the one hand, Eq. (3) has the term \({\hat{H}}_{{\rm{ext.}}}:= {\hat{H}}_{{\rm{A}}}+{\hat{H}}_{{\rm{B}}}\), acting only on the clocks degrees of freedom. The clocks allow A and B to acquire information about “when” the operations take place. Roughly speaking, these degrees of freedom (together with the spatial ones^{25}) correspond to the external, relative "spatiotemporal localisation of the local laboratories" in which events take place. On the other hand, the term \({\hat{H}}_{{\rm{loc.}}}:= {\hat{f}}_{{\rm{A}}}({\hat{T}}_{{\rm{A}}})+{\hat{f}}_{{\rm{B}}}({\hat{T}}_{{\rm{B}}})\) describes the operations on the system located at the time defined by the clocks. Roughly speaking, they correspond to the “local operations” happening inside of the local laboratories. Motivated by the framework of process matrices^{11}, we make this correspondence explicit.

For the sake of generality, we consider a constraint of the form \(\hat{C}={\hat{H}}_{{\rm{ext.}}}+{\hat{H}}_{{\rm{loc.}}}\), where \({\hat{H}}_{{\rm{ext.}}}\) is a function of the (possibly interacting) Hamiltonian of the clocks and \({\hat{H}}_{{\rm{loc.}}}\) includes the interventions made on the system. All the constraints studied in this paper have this form. Dropping, for simplicity of notation, the dependence on *x*, *y*, . . . , *z* and *a*, *b*, . . . , *c*, Eq. (18) reads

where *E* is a measurement operator acting on the clocks and the ancillas, *W* has matrix elements \(W(\alpha ,{\alpha }^{\prime})={e}^{-i\alpha {\hat{H}}_{{\rm{ext.}}}}\left|\varphi \right\rangle \,\left\langle \varphi \right|{e}^{i{\alpha }^{\prime}{\hat{H}}_{{\rm{ext.}}}}\), *M* has matrix elements \(M({\alpha }^{\prime},\alpha )={V}^{\dagger }({\alpha }^{\prime}){E}^{\dagger }EV(\alpha )\), and \(V(\alpha ){e}^{-i\alpha {\hat{H}}_{{\rm{ext.}}}}={e}^{-i\alpha ({\hat{H}}_{{\rm{ext.}}}+{\hat{H}}_{{\rm{loc.}}})}\).

We have therefore shown that it is possible to write down the Born rule for the probability *p*, Eq. (18), in the form

where *W* depends only on the spatiotemporal part, corresponding to \({\hat{H}}_{{\rm{ext.}}}\), and *M* encodes the information about the operations inside the local laboratories, corresponding to \({\hat{H}}_{{\rm{loc.}}}\). *M* can depend on the spatiotemporal part as well (although this is not the case for non interacting clocks).

## Data availability

Data sharing not applicable to this article as no datasets were generated or analysed during the current study.

## References

- 1.
DeWitt, C. M. & Rickles, D.

*The role of gravitation in physics: Report from the 1957 Chapel Hill Conference*, Vol. 5 (Epubli, 2011). - 2.
Unruh, W. G. Steps towards a quantum theory of gravity. In

*Quantum theory of gravity. Essays in honor of the 60th birthday of Bryce S. DeWitt*. (ed. Christensen, S. M.) (North Carolina Univ., Chapel Hill, USA, 1984). - 3.
Belenchia, A., Wald, R. M., Giacomini, F., Castro-Ruiz, E., Brukner, Č. & Aspelmeyer, M. Quantum superposition of massive objects and the quantization of gravity.

*Phys. Rev. D.***98**, 126009 (2018). - 4.
Belenchia, A., Wald, R. M., Giacomini, F., Castro-Ruiz, E., Brukner, Č. & Aspelmeyer, M. Information content of the gravitational field of a quantum superposition.

*Int. J. Mod. Phys. D.***28**, 1943001 (2019). - 5.
Kuchar, K. V. Time and interpretations of quantum gravity.

*Int. J. Mod. Phys*. D.**20**, 3–86 (2011). - 6.
Isham, C. J.

*Canonical quantum gravity and the problem of time. In Integrable systems, quantum groups, and quantum field theories*, 157–287 (Springer, Dordrecht, 1993). - 7.
Rovelli, C.

*Quantum Gravity*(Cambridge University Press, 2004). - 8.
Hardy, L. Operational general relativity: possibilistic, probabilistic, and quantum. Preprint at https://arxiv.org/abs/1608.06940 (2016).

- 9.
Hardy, L. The construction interpretation: a conceptual road to quantum gravity. Preprint at https://arxiv.org/abs/1807.10980 (2018).

- 10.
Hardy, L. Implementation of the Quantum Equivalence Principle. In Progress and Visions in Quantum Theory in view of Gravity (pp. 189–220) (Birkhäuser, Cham, 2020).

- 11.
Oreshkov, O., Costa, F. & Brukner, Č. Quantum correlations with no causal order.

*Nat. Commun.***3**, 1092 (2012). - 12.
Zych, M., Costa, F., Pikovski, I. & Brukner, Č. Bell’s theorem for temporal order.

*Nat. Commun.***10**, 1–10 (2019). - 13.
Castro-Ruiz, E., Giacomini, F. & Brukner, Č. Entanglement of quantum clocks through gravity.

*Proc. Natl Acad. Sci. USA***114**, E2303–E2309 (2017). - 14.
Zych, M., Pikovski, I., Costa, F. & Brukner, Č. General relativistic effects in quantum interference of “clocks”.

*J. Phys. Conf. Ser.***723**, 012044 (2016). - 15.
Khandelwal, S., Lock, M. P. & Woods, M. P. General relativistic time dilation and increased uncertainty in generic quantum clocks. Preprint at https://arxiv.org/abs/1904.02178 (2019).

- 16.
Smith, A. R. & Ahmadi, M. Quantizing time: interacting clocks and systems.

*Quantum***3**, 160 (2019). - 17.
Hoehn, P. A. & Vanrietvelde, A. How to switch between relational quantum clocks. Preprint at https://arxiv.org/abs/1810.04153 (2018).

- 18.
Smith, A. R. & Ahmadi, M. Relativistic quantum clocks observe classical and quantum time dilation. Preprint at https://arxiv.org/abs/1904.12390 (2019).

- 19.
Hoehn, P. A. Switching internal times and a new perspective on the wave function of the universe.

*Universe***5**, 116 (2019). - 20.
Page, D. N. & Wootters, W. K. Evolution without evolution: dynamics described by stationary observables.

*Phys. Rev. D.***27**, 2885 (1983). - 21.
Giovannetti, V., Lloyd, S. & Maccone, L. Quantum time.

*Phys. Rev. D.***92**, 045033 (2015). - 22.
Rovelli, C. Quantum mechanics without time: a model.

*Phys. Rev. D.***42**, 2638 (1990). - 23.
Reisenberger, M. & Rovelli, C. Spacetime states and covariant quantum theory.

*Phys. Rev. D.***65**, 125016 (2002). - 24.
Hellmann, F., Mondragon, M., Perez, A. & Rovelli, C. Multiple-event probability in general-relativistic quantum mechanics.

*Phys. Rev. D.***75**, 084033 (2007). - 25.
Giacomini, F., Castro-Ruiz, E. & Brukner, Č. Quantum mechanics and the covariance of physical laws in quantum reference frames.

*Nat. Commun.***10**, 494 (2019). - 26.
Oreshkov, O. Time-delocalized quantum subsystems and operations: on the existence of processes with indefinite causal structure in quantum mechanics.

*Quantum***3**, 206 (2019). - 27.
Guérin, P. A. & Brukner, Č. Observer-dependent locality of quantum events.

*N. J. Phys.***20**, 103031 (2018). - 28.
Wootters, W. K. “Time” replaced by quantum correlations.

*Int. J. Theor. Phys.***23**, 701–711 (1984). - 29.
Margolus, N. & Levitin, L. B. The maximum speed of dynamical evolution.

*Phys. D.***120**(Suppl. 1–2), 188–195 (1998). - 30.
Zych, M., Costa, F., Pikovski, I. & Brukner, Č. Quantum interferometric visibility as a witness of general relativistic proper time.

*Nat. Commun.***2**, 505 (2011). - 31.
Pikovski, I., Zych, M., Costa, F. & Brukner, Č. Universal decoherence due to gravitational time dilation.

*Nat. Phys.***11**, 668 (2015). - 32.
Suzuki, M. Quantum analysis-non-commutative differential and integral calculi.

*Commun. Math. Phys.***183**, 339–363 (1997). - 33.
Zych, M.Costa, F. & Ralph, T.C. Relativity of quantum superpositions. Preprint at https://arxiv.org/abs/1809.04999 (2018).

- 34.
Bose, S., Mazumdar, A., Morley, G. W., Ulbricht, H., Toroš, M., Paternostro, M. & Milburn, G. Spin entanglement witness for quantum gravity.

*Phys. Rev. Lett.***119**, 240401 (2017). - 35.
Marletto, C. & Vedral, V. Gravitationally induced entanglement between two massive particles is sufficient evidence of quantum effects in gravity.

*Phys. Rev. Lett.***119**, 240402 (2017). - 36.
Araújo, M., Feix, A., Navascués, M. & Brukner, Č. A purification postulate for quantum mechanics with indefinite causal order.

*Quantum***1**, 10 (2017). - 37.
Barbour, J. B. The timelessness of quantum gravity: I. The evidence from the classical theory.

*Class. Quantum Gravity***11**, 2853 (1994). - 38.
Marolf, D. Group averaging and refined algebraic quantization: Where are we now? In

*The Ninth Marcel Grossmann Meeting: On Recent Developments in Theoretical and Experimental General Relativity, Gravitation and Relativistic Field Theories (In 3 Volumes)*, 1348–1349 (World Scientific, 2002). - 39.
Singh, A. & Carroll, S. M. Modeling position and momentum in finite-dimensional hilbert spaces via generalized clifford algebra. Preprint at https://arxiv.org/abs/1806.10134 (2018).

- 40.
Unruh, W. G. & Wald, R. M. Time and the interpretation of canonical quantum gravity.

*Phys. Rev. D.***40**, 2598 (1989). - 41.
Vanrietvelde, A., Hoehn, P. A. & Giacomini, F. Switching quantum reference frames in the N-body problem and the absence of global relational perspectives. Preprint at https://arxiv.org/abs/1809.05093 (2018).

- 42.
Bojowald, M., Hoehn, P. A. & Tsobanjan, A. An effective approach to the problem of time.

*Class. Quantum Gravity***28**, 035006 (2011). - 43.
Bojowald, M., Hoehn, P. A. & Tsobanjan, A. Effective approach to the problem of time: general features and examples.

*Phys. Rev. D.***83**, 125023 (2011). - 44.
Hoehn, P. A., Kubalová, E. & Tsobanjan, A. Effective relational dynamics of a nonintegrable cosmological model.

*Phys. Rev. D.***86**, 065014 (2012). - 45.
Vanrietvelde, A., Hoehn, P. A., Giacomini, F. & Castro-Ruiz, E. A change of perspective: switching quantum reference frames via a perspective-neutral framework.

*Quantum*,**4**, 225 (2020). - 46.
Hoehn, P., Smith, A. & Lock, M. The trinity of relational quantum dynamics. Preprint at https://arxiv.org/abs/1912.00033 (2019).

- 47.
Westman, H. & Sonego, S. Events and observables in generally invariant spacetime theories.

*Found. Phys.***38**, 908–915 (2008). - 48.
Chiribella, G., D’Ariano, G. M., Perinotti, P. & Valiron, B. Quantum computations without definite causal structure.

*Phys. Rev. A***88**, 022318 (2013). - 49.
Castro-Ruiz, E., Giacomini, F. & Brukner, Č. Dynamics of quantum causal structures.

*Phys. Rev. X***8**, 011047 (2018).

## Acknowledgements

We thank P. Allard-Guérin, L. Hardy, P. A. Hoehn, I. Kull, L. Maccone, O. Oreshkov, W. Wieland and M. P. Woods for interesting discussions. We acknowledge support from the research platform Testing Quantum and Gravity Interface with Single Photons (TURIS), the Austrian Science Fund (FWF) through the Projects No. No. I- 2906 and BeyondC (F7113-N48), and the doctoral program Complex Quantum Systems (CoQuS) under Project No. W1210-N25. We also acknowledge financial support from the EU Collaborative Project TEQ (Grant Agreement No. 766900). E.C.-R. is supported in part by the Program of Concerted Research Actions (ARC) of the Université libre de Bruxelles. A.B. is supported by H2020 through the MSCA IF pERFEcTO (Grant Agreement nr. 795782). Research at Perimeter Institute is supported in part by the Government of Canada through the Department of Innovation, Science and Economic Development Canada and by the Province of Ontario through the Ministry of Colleges and Universities. This work was funded by a grant from the Foundational Questions Institute (FQXi) Fund and the ID# 61466 grant from the John Templeton Foundation, as part of the “The Quantum Information Structure of Spacetime (QISS)” Project (qiss.fr). The opinions expressed in this publication are those of the author(s) and do not necessarily reflect the views of the John Templeton Foundation.

## Author information

### Affiliations

### Contributions

E.C.-R., F.G., A.B. and Č.B. contributed to all aspects of the research, with the leading input of E.C.-R.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Peer review information** *Nature Communications* thanks Robert Oeckl, Yasusada Nambu and the other anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

**Publisher’s note** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Supplementary Information

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Castro-Ruiz, E., Giacomini, F., Belenchia, A. *et al.* Quantum clocks and the temporal localisability of events in the presence of gravitating quantum systems.
*Nat Commun* **11, **2672 (2020). https://doi.org/10.1038/s41467-020-16013-1

Received:

Accepted:

Published:

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.