We study the notion of causal orders for the cases of (classical and quantum) circuits and spacetime events. We show that every circuit can be immersed into a classical spacetime, preserving the compatibility between the two causal structures. Using the process matrix formalism, we analyse the realisations of the quantum switch using 4 and 3 spacetime events in classical spacetimes with fixed causal orders, and the realisation of a gravitational switch with only 2 spacetime events that features superpositions of different gravitational field configurations and their respective causal orders. We show that the current quantum switch experimental implementations do not feature superpositions of causal orders between spacetime events, and that these superpositions can only occur in the context of superposed gravitational fields. We also discuss a recently introduced operational notion of an event, which does allow for superpositions of respective causal orders in flat spacetime quantum switch implementations. We construct two observables that can distinguish between the quantum switch realisations in classical spacetimes, and gravitational switch implementations in superposed spacetimes. Finally, we discuss our results in the light of the modern relational approach to physics.
We study the categorical generalizations of a BF theory to 2BF and 3BF theories, corresponding to 2-groups and 3-groups, in the framework of higher gauge theory. In particular, we construct the constrained 3BF actions describing the correct dynamics of Yang-Mills, Klein-Gordon, Dirac, Weyl, and Majorana fields coupled to Einstein-Cartan gravity. The action is naturally split into a topological sector and a sector with simplicity constraints, adapted to the spinfoam quantization programme. In addition, the structure of the 3-group gives rise to a novel gauge group which specifies the spectrum of matter fields present in the theory, just like the ordinary gauge group specifies the spectrum of gauge bosons in the Yang-Mills theory. This allows us to rewrite the whole Standard Model coupled to gravity as a constrained 3BF action, facilitating the nonperturbative quantization of both gravity and matter fields. Moreover, the presence and the properties of this new gauge group open up a possibility of a nontrivial unification of all fields and a possible explanation of fermion families and all other structure in the matter spectrum of the theory.