WorksPhysics and Astronomy
Programmable multipartite entanglement analogues
Abstract
Quantum entanglement underpins the quantum information science. Its multipartite forms distribute coherence across several subsystems, but controlling their composition and order is increasingly difficult as more subsystems participate. Classical nonseparable waves provide accessible analogues of these structures, although existing implementations largely fix the participating degrees of freedom through their generating architectures. Here we overcome this constraint by making multipartiteness itself programmable in electromagnetic fields. A spatiotemporal metasurface reconfigures the identity and number of coherently linked state spaces independently across polarization, frequency, orbital angular momentum, wavevector direction, and orthogonal envelope modes. We realize complete Bell-like and Greenberger-Horne-Zeilinger-like families from bipartite to five-partite order and exchange constituents at fixed order. To our knowledge, the five-partite state has the highest multipartite order experimentally realized in classical electromagnetic fields. These results establish the distribution of coherence across physical state spaces as a programmable property of classical waves and provide a platform for studying selected structures of multipartite quantum states without invoking quantum entanglement or nonlocality.
The structure of a composite physical state depends on the dimensions of its constituent spaces and the number of spaces across which coherence is distributed. A single degree of freedom can be high-dimensional without being multipartite, whereas the relative phase of an -partite Greenberger-Horne-Zeilinger (GHZ) state stores its relative phase only in the coherence of the full tensor product. Multipartite order thus describes the physical extent of coherence across independently resolvable state spaces, distinct from the dimension of any one constituent space. This distinction is central to high-dimensional entanglement and quantum structured light[1, 2, 3, 4, 5, 6, 7, 8]. The classical electromagnetic (EM) waves provide a setting in which this state-space hierarchy can be studied separately from genuine quantum resources. Polarization, spatial mode, frequency, wavevector and orbital angular momentum (OAM) can furnish distinct vector spaces whose coherent coupling generates fields that cannot be factorized with respect to a prescribed physical partition[9, 10, 11]. These fields remain classical and local: they imply neither quantum entanglement nor Bell nonlocality. Nevertheless, their tensor-product structure supports Bell-like and GHZ-like analogues, quantum-inspired transformations, tomography and fidelity-based characterization[12, 13, 14, 15, 16, 17, 18, 19, 20]. Experiments have progressed from bipartite nonseparability to complete tripartite GHZ-like families and four-partite classical states[21, 22, 23, 24]. These advances establish that classical waves can sustain increasingly high-order correlations, while the physical constituents of these correlations remain largely fixed by the generating architecture.
Controlling multipartite structure requires independently addressable physical observables of the same field to participate coherently in a common nonfactorizable state. Enlarging a local basis or adding addressable observables alone does not increase multipartite order. An additional state space must instead enter the same phase-coherent branch structure. The transition from multidimensional to multipartite control therefore shifts the object of control from states within a prescribed product space to controlling the physical partition across which coherence is distributed. In existing classical implementations, cavity modes, resonator trajectories, propagation geometries or mode-conversion processes typically predetermine the identity and number of participating state spaces[21, 22, 23, 24]. Extensions to five-partite classical GHZ-like structures have been proposed theoretically but, to our knowledge, have not been realized experimentally[22]. Spatiotemporal metasurfaces can overcome this architectural constraint by combining the spatial and temporal scattering in a reconfigurable aperture[25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39]. Their programmable responses provide simultaneous accesses to the polarization, spectral and spatial observables in a unified scattering platform. However, multidimensional addressability alone does not constitute multipartite control. Multipartite control instead requires branch-conditioned coherent scattering that determines which state spaces enter a common nonfactorizable relation and how many of them share the resulting global coherence.
Here we make the multipartite organization of an EM wave programmable in a single physical platform. A dual-polarization spatiotemporal metasurface independently programs the spatial and temporal responses of two orthogonal polarization channels, enabling conditional scattering across five EM state spaces associated with the polarization , frequency , wavevector , OAM and orthogonal amplitude-envelope modes . This programmability separates two independent structural variables of the composite field, its physical composition and its multipartite order. At a fixed order, exchanging the participating state spaces transfers the same Bell-like or GHZ-like correlation structure between physically distinct compositions. Increasing the order from two to five extends a common coherent branch relation across additional independently resolvable observables, expanding the associated binary product space from 4 to 32 dimensions. The hierarchy culminates in a five-partite GHZ-like state involving all five available EM state spaces participate in a single coherent relation. To our knowledge, this constitutes the highest multipartite order experimentally realized in a classical EM field. State-resolved measurements of the complete Bell-like and GHZ-like families, together with reconstructed density matrices and high fidelities, verify the prescribed composition and multipartite order throughout this hierarchy. Together, these results establish programmable multipartiteness as a distinct regime of wave control in which both the identity and the number of state spaces sharing global coherence become reconfigurable properties of the field itself.
Programming multipartite state structure
Multipartite structure is defined by coherent correlations among distinct state spaces rather than in the individual spaces themselves. Hence, an EM field can be resolved into independently addressable degrees of freedom, each spanning a constituent vector space , and describe its nonseparability through the coherent relations among these spaces. The simplest realization contains two binary factors. A two-qubit Bell state and a classical Bell-like EM state share the equivalent nonfactorizable tensor-product structure, while the latter remains entirely classical and local (Figure 1a). In the polarization-OAM realization (Figure 1b), polarization and OAM form the two constituent state spaces, giving , with . Neither polarization nor OAM alone determines the composite state. Its defining information resides in the coherent correlation between the two factors, so that the projection onto one polarization basis state conditionally selects the corresponding OAM component according to . This conditional relation distinguishes the nonseparability from conventional multidimensional multiplexing, in which several observables coexist within the same field while remaining independently specified. Throughout this work, ket notation represents normalized classical field states in the corresponding EM vector spaces. The quantum-classical state-space correspondence and its physical limits are detailed in Supplementary Note 1.

Figure 1. State-space organization of programmable multipartiteness. a Structural correspondence between a two-qubit Bell state and a classical Bell-like EM state. In the classical representation, two independently resolvable EM degrees of freedom replace the quantum subsystems while retaining the same nonfactorizable tensor-product structure. b Representative bipartite composition formed by polarization and OAM . The two polarization basis states are coherently correlated with orthogonal OAM states, such that projection onto either polarization conditionally selects the corresponding OAM component. c Extension from bipartite to multipartite organization through the structural correspondence between a three-partite GHZ state and a classical GHZ-like EM state. The defining coherence connects two complementary product branches across all participating state spaces. d Representative tripartite EM composition formed by polarization , wavevector and OAM . e Hierarchy of binary multipartite state spaces from to . The multipartite order counts the number of coherently participating state spaces, whereas the associated composite-space dimension follows , yielding and 32. Dimensional growth is a consequence of increasing multipartite order and is distinct from enlarging the local dimension of a single degree of freedom. f Representative four- and five-partite compositions assembled from polarization , frequency , wavevector , OAM and amplitude-envelope mode . Changing the identity of the participating state spaces reconfigures the physical composition, whereas changing their number reconfigures the multipartite order. The five-partite configuration incorporates all five available EM state spaces into a common nonfactorizable structure.
Introducing an additional state-space factor changes how coherence is distributed across the composite field rather than merely enlarging the available basis. The correspondence with a tripartite GHZ state illustrates this transition (Figure 1c). Its classical analogue comprises two complementary product branches that differ in every participating EM degree of freedom. One such realization combines polarization , wavevector and OAM (Figure 1d), with the global coherence linking and . To express this structure independently of the observables involved, each programming configuration is associated with an active set of state spaces . Each factor contributes an orthonormal binary basis , yielding the canonical multipartite family
Here, represents one member of each complementary pair ; we choose throughout without loss of generality. The complementary branch pairs together with the two relative signs generate mutually orthogonal Bell-like or GHZ-like states. The complete binary Bell/GHZ basis construction is derived in Supplementary Note 2. Because the two branches are orthogonal in every participating factor, the ideal state has Schmidt rank two across every nontrivial bipartition. Increasing the order from two to three therefore extends the coherence across the full multipartite partition, producing a correlation structure that cannot be decomposed into independent lower-order correlations. The distinction between physical composition and multipartite order becomes explicit once the active factors are separated from the full set of EM state spaces available to the platform. For our platform, the available set is , comprising polarization, frequency, wavevector, OAM and orthogonal amplitude-envelope modes. Their participation in configuration is encoded by , giving
These quantities resolve three complementary aspects of the composite-state structure. The active set specifies the physical composition of the nonseparable state, defines its multipartite order through the number of coherently participating factors, and gives the dimension of the associated product space. For the binary state spaces used here, and , yielding dimensions of 4, 8, 16 and 32 as the multipartite order increases from two to five (Figure 1e). The resulting growth of is therefore a consequence of extending a common coherent relation across additional state spaces rather than the defining feature of multipartiteness itself. Increasing the local dimension of a single factor can enlarge without changing . This separation between composition and order establishes the structural basis of programmable multipartiteness. The distinction among state-space composition, multipartite order and composite dimension is developed in Supplementary Note 3. Different active subsets of the same EM state-space set can support the same multipartite order while representing physically inequivalent composite states. The four-partite examples in Figure 1f illustrate this constituent exchange, whereas the five-partite configuration incorporates all five available state spaces into a single nonfactorizable relation. Here labels distinct wavevector-direction states, while labels mutually orthogonal envelope modes. The modal definitions, vector-field representation and coherent-projection formalism for the five EM state spaces are given in Supplementary Note 4. The available EM degrees of freedom therefore remain fixed, while programming determines which of them enter the active nonseparable sector and how many are coherently linked within it. In this formulation, state-space composition and multipartite order emerge as independently programmable structural attributes of the same EM field.
Interchangeable constituents of bipartite nonseparability
The distinction between multipartite order and state-space composition is already manifest in the bipartite sector. Setting fixes the number of participating state spaces while allowing their physical identity to vary. Bell-like nonseparability can therefore be encoded in physically different tensor-product spaces with the same underlying Schmidt structure. Control over composition requires this nonfactorizable structure to remain invariant when one physical constituent is exchanged. This identifies composition as a structural variable of the correlation itself. The dual-polarization spatiotemporal metasurface implements this constituent exchange through conditional scattering within one aperture (Figure 2a). The two orthogonal polarization channels share the same physical aperture while undergoing independently programmed spatial and temporal transformations. Neglecting weak cross-polarized leakage, the scattering operator is approximately block-diagonal in the polarization basis,

Figure 2. Programmable state-space composition of Bell-like nonseparability. a Schematic of the programmable bipartite-state generator. The two orthogonal polarization branches share the same physical aperture but are independently modulated by spatiotemporal coding functions and , allowing each branch to be conditionally mapped onto a selected state of a second EM degree of freedom while the multipartite order remains . Magenta and green denote the - and -polarized branches, respectively. b Four-diode meta-atom comprising two independently addressable 2-bit phase-control channels for the orthogonal polarizations. c Relative reflection phases of the two polarization channels for their accessible 2-bit bias states. d–g Bell-like states with compositions , , , and , respectively. Propagation-direction states are generated by spatial phase gradients, OAM states by azimuthal phase winding, frequency states by temporal modulation, and orthogonal amplitude-envelope states by spatial field shaping. In each case, the two polarization branches are coherently correlated with orthogonal states of the second factor. h–k Real and imaginary parts of the experimentally reconstructed projected-state density matrices for a representative state in the four corresponding product spaces. l–o Measured fidelities of the complete Bell-like basis for each state-space composition.
where labels the programming configuration and denotes the transformation conditioned on polarization state . Polarization therefore acts as the control space for conditional transformations. The correspondence between conditional EM scattering and controlled state preparation is developed in Supplementary Note 5. The four-diode meta-atom provides independently addressable 2-bit phase responses for the two polarization channels, implementing these branch-conditioned transformations (Figure 2b,Figure 2c). For a common incident mode , the two polarization branches are mapped onto normalized conditional states and of the selected second state-space factor. The resulting bipartite field is
where and are real non-negative branch amplitudes and is their relative phase. The resulting nonseparability is determined by the branch balance and the mutual overlap of the two conditional states. The normalized branch population is , while quantifies the overlap of the conditional states. The eigenvalues of the reduced polarization density matrix, equivalently the squared Schmidt coefficients, are
The maximally nonseparable Bell-like limit is obtained for balanced branches, , and orthogonal conditional states, , for which . Conversely, the state factorizes when one branch vanishes, or , or when the two conditional states coincide up to a phase, . Crucially, for fixed and , the Schmidt spectrum is independent of the physical observable used for the second binary factor. It is determined solely by the branch balance and conditional-state overlap. The full Schmidt analysis of programmable bipartite nonseparability is provided in Supplementary Note 6. This invariance of the Schmidt structure is realized in four physically inequivalent state-space compositions (Figure 2d-Figure 2g). All the active sets , and have , while the second tensor factor is carried by a different EM observable in each case. A spatial phase gradient maps the polarization branches onto distinct wavevectors for , whereas azimuthal phase winding generates orthogonal OAM states for . Temporal modulation supplies discrete frequency states for , while orthogonal field envelopes define the basis of . Although these transformations act in different physical domains, they are programmed to reproduce the same two-branch Bell-like Schmidt structure. Changing thus exchanges the physical tensor factor itself rather than merely relabeling basis modes within a fixed degree of freedom.
Experimental field measurements are then performed to test whether this Schmidt structure is preserved across physically distinct compositions. Projection onto each four-dimensional product basis yields normalized complex modal coefficients, used to reconstruct the corresponding projected-state density matrix. The real and imaginary components in Figure 2h-Figure 2k resolve the expected branch populations and interbranch coherence for representative states. The complete Bell-like families provide a more stringent test because both complementary basis pairings and their relative phases must be preserved. Across all sixteen combinations of Bell-like state and physical composition, the projected-state fidelities range from 94.9% to 99.0% (Figure 2l-Figure 2o), evaluated as . The ideal Schmidt structure is common to all four compositions, while the reconstructed spectra quantify composition-dependent departures from that reference (Supplementary Notes 6 and 7). The exchanged observables therefore support the same target correlation structure through physically different field modes. The physical constituents of nonseparability can therefore be exchanged while the underlying correlation structure is retained, establishing state-space composition as a programmable structural coordinate of the EM wave. Extended characterization of the complete Bell-like families is provided in Supplementary Note 7.
Global coherence in tripartite states
The bipartite results establish state-space composition as an independent structural variable at fixed multipartite order. Increasing the multipartite order to changes not only the number of participating factors but also how coherence is encoded across them. Three binary factors span an eight-dimensional product space, yet the essential change lies not in the doubling of dimension but in the emergence of coherence that belongs to the full three-factor state. For the canonical GHZ-like family, the relative phase resides in the off-diagonal coherence between two complementary three-factor branches. Tracing out any factor removes this phase information from the remaining two-factor state. The relative phase is therefore absent from every two-factor reduced state and is retained in the coherence of the complete three-factor field. Increasing multipartite order therefore redistributes coherence across the physical partition of the field rather than merely enlarging its accessible basis.
The same programmable aperture realizes this tripartite coherence through joint spatial and temporal control of the two polarization branches (Figure 3a). Each configuration selects three binary factors from the available set , fixing and while allowing the physical composition to vary (Figure 3b). At this fixed order and dimension, the participation map in Figure 3c identifies four physically distinct compositions, , , and . All four configurations share and , while the physical observables carrying the coherence are different. This isolates composition from both multipartite order and dimensionality, allowing the physical carriers of the correlation to change without altering its three-factor organization. The composite-space dimension is therefore preserved while the physical factors supporting the coherence are reconfigured. The global character of the coherence becomes explicit upon tracing out any participating factor. For the canonical states of Eq. (1), tracing over state space yields

Figure 3. Programmable global coherence across tripartite state spaces. a Schematic of programmable tripartite GHZ-like state synthesis. Independent spatiotemporal coding of the two orthogonal polarization branches conditionally correlates polarization with two additional state-space factors selected from frequency , wavevector , OAM and orthogonal amplitude-envelope mode . b Eight-dimensional product space for three binary factors, with the eight vertices representing the corresponding product-basis states at fixed multipartite order . c Participation map of four physically distinct tripartite compositions, , , and , all with and . d–g Characterization of the composition. Complementary three-factor branches forming the GHZ-like state (d). Real and imaginary parts of the reconstructed projected-state density matrix (e). Element-wise deviation of the reconstructed density matrix from the ideal target (f). Measured fidelities of the complete eight-state GHZ-like basis (g). h–j Corresponding realizations for the (h), (i) and (j) compositions, respectively. Each panel contains the state-space construction, reconstructed density matrix, deviation from the ideal target and fidelities of the complete GHZ-like basis.
where denotes the two-factor basis string remaining after the th constituent is traced out. Orthogonality of the local binary bases eliminates the off-diagonal terms linking the complementary branches, giving . In this ideal orthogonal-basis limit, the relative sign cannot be recovered from any two-factor reduced state and survives only in the coherence of the complete tripartite field. The disappearance of these coherences under every partial trace provides a direct state-space signature that the relative phase is stored globally rather than in any pairwise sector. This loss of phase information under any partial trace distinguishes global tripartite coherence from a collection of independent pairwise correlations. The reduced-state origin of this global GHZ-like phase storage is derived in Supplementary Note 8. The composition provides a direct realization of this global three-factor structure (Figure 3d). Polarization, wavevector and OAM form independently resolvable state spaces whose local basis states are correlated into two complementary three-factor branches. The reconstructed projected-state density matrix resolves their populations and the off-diagonal coherence linking the complementary states (Figure 3e). These off-diagonal elements provide the experimentally accessible signature of the coherent phase relation that distinguishes the GHZ-like state from an incoherent mixture with the same branches. The element-wise deviation map in Figure 3f quantifies residual departures from the ideal projected state, while the complete eight-state family in Figure 3g extends the characterization to all four complementary basis pairings and both relative signs.
Crucially, the global three-factor coherence is preserved when the physical composition is reconfigured. The composition is realized in Figure 3h, while replacing with wavevector or OAM yields the and states shown in Figure 3i and Figure 3j, respectively. Although the constituent observables and local bases differ, the reconstructed states retain the characteristic complementary-branch structure of the GHZ-like family. The relative phase remains encoded collectively across all three factors and cannot be recovered from any pairwise reduced state. The tripartite states therefore preserve their global GHZ-like coherence under constituent exchange, establishing state-space composition as programmable independently of both composite dimension and multipartite order. Complete-family verification of these tripartite states is presented in Supplementary Note 9.
Scaling global coherence to five-partite order
Once coherence is distributed globally across several state spaces, increasing multipartite order requires an additional degree of freedom to enter the same nonfactorizable branch structure rather than merely enlarging the product space. The new factor must occupy different local states in the two complementary branches and thereby become an active carrier of global coherence. To express this condition independently of a particular programming configuration, let denote an active -partite set and let denote an additional binary state-space factor. Raising the multipartite order from to then requires
Because and are orthogonal, and and form an orthogonal local basis, the state in Eq. (6) has Schmidt rank two across the bipartition . It therefore cannot be factorized as for any states and . The additional factor is therefore incorporated in the active nonseparable sector rather than appended as a separable spectator. This branch-conditioned participation increases the multipartite order without changing the local dimensionality of the pre-existing constituents. For the canonical GHZ-like family considered here, the global relative phase remains absent from every proper reduced state, while the coherence connects complementary product branches that differ across a larger number of local factors. Increasing multipartite order consequently extends the physical support of the same global coherent relation across an additional independently resolvable state space. The recursive extension to arbitrary multipartite order is derived in Supplementary Note 10. In the spatiotemporal metasurface, different configurations realize this scaling by selecting active subsets with different multipartite orders (Figure 4a). The available EM state spaces remain unchanged, while programming controls how many of them participate coherently in the active nonseparable sector. Four active binary factors span a 16-dimensional composite space, whereas participation of all five produces a 32-dimensional space (Figure 4b). Although , the essential progression is the extension of one global coherent relation across four and ultimately five independently resolvable physical observables. In this sense, increasing changes the physical extent of the coherence rather than simply the number of basis states available to the field.

Figure 4. Programmable scaling of GHZ-like coherence to five-partite order. a Spatiotemporal programming of multipartite GHZ-like states using the same dual-polarization aperture. Different programming configurations select the identity and number of coherently participating state spaces from polarization , frequency , wavevector , OAM and orthogonal amplitude-envelope mode . Four active factors form a 16-dimensional composite space, whereas participation of all five factors produces a 32-dimensional space. b State-space hierarchy for and , illustrating the extension of a common complementary-branch coherence across an increasing number of physical state spaces. c–e Four-partite GHZ-like compositions (c), (d) and (e), respectively. All three retain and while exchanging one physical constituent. The accompanying maps show element-wise deviations of the reconstructed projected-state density matrices from their ideal targets. f–h Measured fidelities of the complete 16-state GHZ-like families for the corresponding four-partite compositions. i Five-partite composition in which all available state spaces participate in the
At , multipartite order can be held fixed while the physical composition is varied. The state combines polarization, frequency, wavevector and an orthogonal amplitude-envelope mode (Figure 4c). The alternative and compositions are realized in Figure 4d,Figure 4e, respectively. All three configurations share and , while one physical constituent is exchanged without altering the four-factor GHZ-like branch structure. Their equivalence tests whether four-partite coherence survives constituent exchange. The corresponding deviation maps quantify element-wise departures from the ideal states in the full 16-dimensional product bases. The fidelities in Figure 4f-Figure 4h extend this test to the complete 16-state GHZ-like family for each composition, covering every complementary branch pairing and both relative signs.
The hierarchy culminates when all five available state spaces participate in the same coherent relation. For the state, , and (Figure 4i). The active nonseparable sector therefore spans the full EM state-space set of the platform. The real and imaginary parts of the reconstructed projected-state density matrix resolve the complementary five-factor branch populations together with the off-diagonal coherence connecting them across the full product space (Figure 4j,Figure 4k). These off-diagonal terms distinguish coherent five-factor superposition from an incoherent mixture containing the same branch populations. The element-wise deviation from the ideal target is quantified in Figure 4l, while the complete 32-state family in Figure 4m tests all canonical complementary branch pairings and relative phases of the five-partite basis. The progression from three to four and five factors therefore represents more than an increase in composite-space dimension. Each increase in extends the same coherent relation across an additional independently addressable physical state space. At four-partite order, composition remains programmable without disrupting the global GHZ-like coherence. At five-partite order, the active correlation spans all EM state spaces available to the platform. Programmable multipartiteness is therefore realized when both the identity and the number of state spaces participating in the same global coherence become independently controllable properties of the EM field. Complete four- and five-partite verification is provided in Supplementary Note 11.
Discussion
Our work establishes multipartiteness as a reconfigurable physical structure of an EM field rather than a fixed property inherited from the architecture that generates it. The essential advance is the separation of two aspects of composite-state organization that are ordinarily inseparable in wave systems. State-space composition specifies which physical degrees of freedom participate in a nonseparable correlation, whereas multipartite order determines how far the same coherent relation extends across independently resolvable state spaces. The spatiotemporal metasurface renders both quantities accessible within a single wave system by coherently reorganizing the underlying EM state spaces. The resulting hierarchy therefore represents more than an increase in Hilbert-space dimension. It demonstrates that the physical support of coherence itself can be reconfigured and progressively extended, culminating in a five-partite GHZ-like structure in which all available EM state spaces participate in one global correlation. In this sense, the metasurface acts not merely on the state carried by the wave, but on the multipartite organization through which that state is constituted.
This perspective opens a broader regime of composite-state physics beyond the Bell-like and GHZ-like families considered here. Enlarging the local state spaces would allow dimensionality and multipartite order to be varied independently, while more general coherent transformations could access W-like, graph-like and other multipartite structures with qualitatively different correlation and reduced-state properties. Higher-dimensional and alternative multipartite structures are discussed in Supplementary Note 12. Spatiotemporal programmability further raises the possibility of treating multipartite organization as a dynamical quantity, enabling controlled evolution between distinct physical partitions and correlation orders within the same field. Such extensions shift the emphasis of structured-wave physics from synthesizing the increasingly elaborate field distributions towards controlling how coherence, information and correlations are organized across a composite physical system.
More fundamentally, programmable multipartiteness provides a controllable classical setting in which structures central to quantum mechanics can be isolated from genuinely quantum resources. Classical EM waves do not reproduce quantum nonlocality or other genuinely quantum resources, yet they can faithfully reproduce selected tensor-product, coherence and reduced-state structures associated with multipartite quantum states. This separation distinguishes structures arising from the geometry and coherence of composite Hilbert spaces from resources that require quantumness. It also separates the local mixedness created by unresolved modal labels from statistical dephasing of the complete field, as developed in Supplementary Note 13. It also provides an experimentally accessible arena for developing and testing concepts related to multipartite state preparation, correlation encoding and state-space geometry before their realization in quantum platforms. By making the organization of coherence itself programmable, our work places spatiotemporal electromagnetism in a new role as an analogue laboratory for composite-state physics and lays the groundwork for exploring increasingly complex structures at the interface of classical waves, quantum foundations and quantum information science.
Methods
Dual-polarization programmable metasurface
The experiments were performed with a reflective spatiotemporal metasurface designed to provide independent digital control of two orthogonal linear-polarization channels within the same physical aperture. The metasurface comprised individually addressable meta-atoms with a lattice period of 30 mm, corresponding to an active aperture of mm. Each meta-atom contained four PIN diodes (SMP1345-040LF) distributed along two orthogonal current paths. Two diodes primarily controlled the scattering response of the -polarized component and the remaining two controlled that of the -polarized component. Each diode pair therefore provided four electronically selectable responses, giving independent 2-bit control for the two polarization channels. The instantaneous electronic state of one meta-atom was denoted by the four-bit word , where and addressed the - and -polarized responses, respectively. The 16 joint electronic configurations consequently defined the local scattering alphabet from which the spatial and temporal coding distributions were constructed. This architecture is essential to the multipartite-state implementation because the two polarization components occupy a common aperture while remaining independently programmable. They can therefore serve as the two coherent branches of the conditional transformation described in the main text, rather than as two independently generated beams.
The meta-atoms were implemented using multilayer printed-circuit-board architecture. Patterned radio-frequency metallic layers were separated from a continuous metallic ground plane and a dedicated direct-current bias-routing network by F4B dielectric substrates with relative permittivity and loss tangent . The dielectric layers had thicknesses of 0.254 mm, 4 mm and 0.508 mm. Metallized vias provided electrical connection to the active components while maintaining separation between the radio-frequency scattering structure and the bias circuitry. After fabrication of the passive multilayer structure, the four PIN diodes were mounted by surface-mount assembly. A digital controller supplied the prescribed four-bit states to the full aperture through multichannel driving electronics. For spatially programmed measurements, one coding matrix was maintained throughout the acquisition. For spatiotemporal operation, successive coding matrices were periodically updated according to the designed sequence. The same hardware was therefore used throughout the work; different multipartite configurations were realized by changing only the digitally prescribed space-time coding.
EM calibration of the digital scattering states
The local scattering alphabet was calibrated before synthesis of the multipartite states. Full-wave EM simulations were performed in CST Microwave Studio 2022. A single meta-atom was first analyzed under periodic boundary conditions in the two transverse directions and open boundaries normal to the surface. The - and -polarized incidences were simulated independently, and the frequency-dependent response of the PIN diodes was retained in the EM model. For each polarization channel, the four 2-bit electronic states produced a calibrated set of complex reflection coefficients rather than an idealized phase-only alphabet. All 16 joint four-bit configurations were additionally characterized through their complex polarization response so that residual amplitude variation and weak polarization conversion could be retained when required. This calibration is important for the multipartite-state synthesis because the nonseparable structure is determined by relative complex amplitudes between branches and therefore cannot in general be inferred from phase values alone. The resulting complex-response library was used consistently in state synthesis and full-wave simulation. Finite-aperture simulations reproduced the complete metasurface. Open boundaries were applied around the computational domain. The calculated complex fields were sampled at the same spatial planes and frequencies as the corresponding experiments.
Programming the physical composition of the multipartite state
Each configuration was constructed directly from the state-space representation introduced in Eqs. (1) and (2). The target active set specified which physical observables entered the nonseparable sector, while specified the multipartite order. No additional state-space definition was introduced in the numerical implementation. Polarization provided the common conditional degree of freedom. The two orthogonal polarization states defined the two branches of the programmed transformation, and different complex transformations were assigned to these branches through the independently addressable - and -polarization channels. The remaining state spaces were implemented according to their physical basis. The two states were distinct wavevector-direction states generated by different transverse phase gradients. The states were defined by orthogonal OAM modes with different azimuthal phase winding. The basis consisted of selected Fourier harmonics generated by periodic temporal modulation. The basis consisted of mutually orthogonal spatial-envelope modes and therefore represented a genuine modal degree of freedom rather than two scalar field amplitudes.
The spatial coding patterns were obtained by sampling the required branch-conditioned complex distributions on the physical meta-atom lattice and mapping them onto the calibrated digital scattering states. For configurations containing several spatial factors, the corresponding phase or envelope transformations were combined coherently before digital quantization. The coding operation therefore acted on the complete complex branch field rather than independently assigning labels to individual degrees of freedom. The same procedure was used from the bipartite to the five-partite sector. Increasing did not modify the local dimensionality of an already active factor; it introduced an additional independently resolvable state space into the common complementary-branch relation defined by Eq. (1). Conversely, changing at fixed exchanged a physical constituent while leaving the multipartite order unchanged.
Temporal synthesis and harmonic-state generation
Periodic temporal coding was used whenever frequency participated in the active state space. A modulation period was divided into equal temporal slots, where denotes the coding-sequence length and is distinct from the multipartite order . If is the calibrated complex reflection coefficient of polarization channel during the -th slot, the complex coefficient at Fourier order is
where accounts for the finite duration of each temporal slot. Here , with , and the -th coding state occupies . The -th component occurs at , where is the incident carrier frequency and is the modulation frequency.
Eq. (7) was used as the spectral representation of the temporal codes throughout this work. Because the two polarization channels were modulated independently, they acquired different complex Fourier coefficients at a given harmonic. Their relative amplitude and phase could therefore be programmed jointly with the harmonic index itself. In configurations containing , frequency was consequently not treated merely as a collection of generated sidebands. The selected harmonic constituted one factor of the tensor-product state and was coherently correlated with the other participating observables. The temporal sequences were constructed from the experimentally available four-state scattering dictionaries. Candidate sequences were evaluated using their complete complex Fourier responses, and coding solutions were selected according to the overlap with the prescribed complementary-branch state. Importantly, the synthesis used the calibrated amplitude and phase of each digital state rather than assuming four ideal unit-amplitude phase values.
Time-domain numerical simulations
Static frequency-domain calculations cannot reproduce the EM transients generated while the active elements are switched in time. Dynamic simulations were therefore performed using a time-varying lumped-element finite-integration formulation derived from the TVLE-TDFIT framework developed for practical space-time metasurfaces[40]. In the present work, the numerical formulation was adapted to the four-diode dual-polarization meta-atom and to the experimentally applied four-bit coding sequences. The EM domain was discretized using mutually dual primal and dual grids. Integral electric and magnetic variables were assigned to the corresponding grid edges, and Maxwell’s curl equations were advanced using staggered time integration. In compact matrix form, the electric-field update was written as
whereas the magnetic-field update was
Here, and denote the discrete curl operators associated with the primal and dual grids. The matrices and contain the local material and conformal geometric information, and denote electric and equivalent magnetic source or loss terms when present. Temporal modulation enters Eqs. (8) and (9) through the local EM parameters of grid regions representing the active switching elements. For an electrically lossy region with effective permittivity and conductivity , the electric update coefficients take the generic form
where contains the corresponding primal–dual conformal geometry factor. The magnetic update is written analogously as
where is the effective permeability, describes magnetic loss when included, and is the dual-grid geometric factor. The numerical distinction between passive and dynamically switched regions was retained throughout the calculation. Material-dependent update coefficients in passive regions were calculated once before time stepping, whereas those associated with the active elements were updated whenever the prescribed digital state changed. This avoids repeatedly recomputing coefficients over the entire computational domain and confines the explicit time dependence to physically modulated regions.
The active-element representation was calibrated against the static EM response of the meta-atom used in this work. This preserved the numerical structure of the time-domain method while making the device model specific to the present metasurface. The incident field was monochromatic at . The four time-dependent diode states were driven according to the same sequences used experimentally. The calculation continued until the modulated response reached a periodically steady state. Time-domain fields were then Fourier transformed to obtain the complex amplitudes at . The time step obeyed the Courant stability condition, and absorbing boundaries surrounded the computational region. Static CST simulations and dynamic TVLE-TDFIT simulations therefore addressed complementary aspects of the experiment. CST provided the calibrated scattering alphabet and finite-aperture response for stationary configurations, whereas TVLE-TDFIT explicitly resolved temporal switching, frequency conversion and the phase-coherent formation of harmonic channels.
Complex-field measurements and state-space projections
The experimentally generated states were characterized through phase-coherent measurements of the EM field. Both orthogonal polarization components were referenced to the same excitation so that the relative phase between the two branches was preserved. This phase information is essential because the diagonal modal populations alone cannot distinguish the coherent Bell-like or GHZ-like states from incoherent mixtures containing the same populations. The measured complex field was projected onto the product basis defined by the active set . The projection operation depended on the physical state space. Frequency states were resolved through the corresponding harmonic components. Wavevector-direction states were separated in transverse spatial-frequency space. OAM states were evaluated through overlap with their prescribed azimuthal modes, and amplitude-envelope states were projected onto the corresponding normalized envelope basis. Polarization projection was performed in the orthogonal polarization basis shared throughout the work. For a spatial mode , the corresponding complex modal coefficient of polarization component can be written as
where denotes the common analysis window. Equivalent projection operations were used in the spectral and wavevector-direction domains. All basis functions were normalized before state reconstruction, and identical projection definitions were applied to theory, full-wave simulation and experiment. For an arbitrary product-basis state , the resulting coefficient is compactly written as
The complete -dimensional coefficient vector is then ordered according to the same binary product basis used in Eq. (1). Thus, the reconstructed state dimension was , , and for the bipartite, tripartite, four-partite and five-partite demonstrations, respectively.
Reconstruction of projected-state density matrices
The experimentally reconstructed matrices in Figure 2-Figure 4 were obtained from the measured complex modal coefficients rather than from intensity data alone. For configuration , the coefficient vector
was normalized and converted into the projected-state coherency matrix
For the deterministic coherent fields considered here, Eq. (14) is a unit-trace rank-one coherency matrix by construction. Its diagonal entries resolve the projected modal populations, whereas its off-diagonal entries retain the relative phases of the measured complex modal coefficients. Within this coherent-field description, the complementary-branch entries identify the phase relation that is absent from an incoherent mixture with the same populations. Assessing statistical dephasing across repeated preparations instead requires the normalized ensemble operator , rather than inferring ensemble purity from a single outer product (Supplementary Note 13). The matrix in Eq. (14) is used as a classical coherency representation of the projected field. Density-matrix notation is adopted because the same tensor-product algebra is used to characterize the corresponding Bell-like and GHZ-like structures, but no quantum statistical interpretation, particle entanglement or Bell nonlocality is implied. The same reconstruction procedure was applied to theoretical, simulated and measured fields. No target-state phase was inserted during reconstruction. Relative phases entering the off-diagonal elements were obtained from the measured complex field coefficients themselves.
Fidelity and element-wise state deviation
Agreement between the reconstructed and prescribed state was quantified using the same fidelity employed throughout the main text. For the ideal target ,
This definition is used for all Bell-like and GHZ-like families in Figure 2–Figure 4 and therefore permits direct comparison across different physical compositions and multipartite orders. Because the projected states are normalized before evaluation, characterizes agreement in state space rather than absolute scattering efficiency. The deviation maps were calculated element by element from
with . Identical basis ordering, normalization and spatial or spectral analysis windows were used for experimental and ideal matrices.
Acknowledgements
This work was supported by the National Natural Science Foundation of China (62288101 and 92167202), the National Key Research and Development Program of China (2023YFB3813100 and 2022YFA1404903), the SEU Innovation Capability Enhancement Plan for Doctoral Students (CXJH_SEU 26043), Independent Research Fund of the State Key Laboratory of Millimeter Waves (Z202602-01), Jiangsu Joint Laboratory of Multidimensional Perceptual Information Technology (BM2022017), the State Key Laboratory of Millimeter Waves, Southeast University, China (K201924), the China Postdoctoral Science Foundation (2021M700761, 2022T150112), and the 111 Project (111-2-05).
Author contributions
L.C., X.C., J.Y. and T.C. conceived the idea. L.C., Z.C., Q.Y., Z.H. and Z.Y. designed the experiments. L.C., J.Y. and T.C. supervised the project. L.C., Z.C., Q.Y. and Z.H. conducted the experiments, collected and analyzed the data. L.C. and Z.C. carried out the simulations, theoretical analyses, and wrote all the code. L.C., Z.L., X.C., J.Y. and T.C. wrote the manuscript, with contributions from all authors.
Competing interests
The authors declare no competing interests.
Data and materials availability
All data needed to evaluate the conclusions in the paper are present in the paper and the Supplementary Materials.
same nonfactorizable branch structure. j,k Real and imaginary parts of the reconstructed projected-state density matrix for a representative five-partite GHZ-like state. l Element-wise deviation from the ideal target. m Measured fidelities of the complete 32-state five-partite GHZ-like family.
References
- [1]Forbes, A., Nothlawa, F. & Vallés, A. Progress in quantum structured light. Nature Photonics 19, 1291–1300 (2025).DOI
- [2]Erhard, M., Krenn, M. & Zeilinger, A. Advances in high-dimensional quantum entanglement. Nature Reviews Physics 2, 365–381 (2020).DOI
- [3]Ferreira, V.S., Kim, G., Butler, A., Pichler, H. & Painter, O. Deterministic generation of multidimensional photonic cluster states with a single quantum emitter. Nature Physics 20, 865–870 (2024).arxiv.org/abs/2206.10076
- [4]Lib, O. & Bromberg, Y. Resource-efficient photonic quantum computation with high-dimensional cluster states. Nature Photonics 18, 1218–1224 (2024).DOI
- [5]Bao, J., et al. Very-large-scale integrated quantum graph photonics. Nature Photonics 17, 573–581 (2023).DOI
- [6]Goel, S., et al. Inverse design of high-dimensional quantum optical circuits in a complex medium. Nature Physics 20, 232–239 (2024).
- [7]Zhao, H., et al. Integrated preparation and manipulation of high-dimensional flying structured photons. eLight 4, 10 (2024).DOI
- [8]He, C., Shen, Y. & Forbes, A. Towards higher-dimensional structured light. Light: Science & Applications 11, 205 (2022).DOI
- [9]Shen, Y. & Rosales-Guzmán, C. Nonseparable States of Light: From Quantum to Classical. Laser & Photonics Reviews 16, 2100533 (2022).DOI
- [10]Korolkova, N., Sánchez-Soto, L. & Leuchs, G. An operational distinction between quantum entanglement and classical non-separability. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 382, 20230342 (2024).arxiv.org/abs/2405.15692
- [11]Peters, C., Ornelas, P., Nape, I. & Forbes, A. Spatially resolving classical and quantum entanglement with structured photons. Physical Review A 108, 053502 (2023).DOI
- [12]Kagalwala, K.H., Di Giuseppe, G., Abouraddy, A.F. & Saleh, B.E.A. Bell's measure in classical optical coherence. Nature Photonics 7, 72–78 (2013).DOI
- [13]Ndagano, B., et al. Characterizing quantum channels with non-separable states of classical light. Nature Physics 13, 397–402 (2017).DOI
- [14]Shen, Y., Zdagkas, A., Papasimakis, N. & Zheludev, N.I. Measures of space-time nonseparability of electromagnetic pulses. Physical Review Research 3, 013236 (2021).
- [15]Nape, I., et al. Revealing the invariance of vectorial structured light in complex media. Nature Photonics 16, 538–546 (2022).DOI
- [16]Shi, Z., Rubin, N.A., Park, J.-S. & Capasso, F. Nonseparable Polarization Wavefront Transformation. Physical Review Letters 129, 167403 (2022).DOI
- [17]Zhang, Y.-H., et al. Logical rotation of non-separable states via uniformly self-assembled chiral superstructures. Nature Communications 15, 1108 (2024).DOI
- [18]Wang, Z., et al. Structured light analogy of quantum squeezed states. Light: Science & Applications 13, 297 (2024).DOI
- [19]Liang, Y., et al. Coherent detector for the non-separability measurement of vectorial structured light. Light: Science & Applications 14, 343 (2025).DOI
- [20]Chen, L., et al. Quantum-inspired superposition and nonseparable states of reconfigurable metasurfaces in classical systems. Nature Communications 17, 560 (2026).DOI
- [21]Balthazar, W.F., et al. Tripartite nonseparability in classical optics. Opt. Lett. 41, 5797–5800 (2016).DOI
- [22]Shen, Y., et al. Creation and control of high-dimensional multi-partite classically entangled light. Light: Science & Applications 10, 50 (2021).DOI
- [23]Hai, L., et al. Intra-Cavity Laser Manipulation of High-Dimensional Non-Separable States. Laser & Photonics Reviews 18, 2300593 (2024).DOI
- [24]Wan, Z., Shen, Y., Liu, Q. & Fu, X. Multipartite classically entangled scalar beams. Opt. Lett. 47, 2052–2055 (2022).
- [25]Cui, T.J., Qi, M.Q., Wan, X., Zhao, J. & Cheng, Q. Coding metamaterials, digital metamaterials and programmable metamaterials. Light: Science & Applications 3, e218 (2014).DOI
- [26]Dai, J.Y., Zhao, J., Cheng, Q. & Cui, T.J. Independent control of harmonic amplitudes and phases via a time-domain digital coding metasurface. Light: Science & Applications 7, 90 (2018).DOI
- [27]Zhang, L., et al. Space-time-coding digital metasurfaces. Nature Communications 9, 4334 (2018).
- [28]Wu, G.-B., Dai, J.Y., Cheng, Q., Cui, T.J. & Chan, C.H. Sideband-free space–time-coding metasurface antennas. Nature Electronics 5, 808–819 (2022).DOI
- [29]Wu, G.-B., et al. A universal metasurface antenna to manipulate all fundamental characteristics of electromagnetic waves. Nature Communications 14, 5155 (2023).DOI
- [30]Wang, S.R., et al. Manipulations of multi-frequency waves and signals via multi-partition asynchronous space-time-coding digital metasurface. Nature Communications 14, 5377 (2023).DOI
- [31]Bütow, J., Eismann, J.S., Sharma, V., Brandmüller, D. & Banzer, P. Generating free-space structured light with programmable integrated photonics. Nature Photonics 18, 243–249 (2024).DOI
- [32]He, G., et al. Multiplexed manipulation of orbital angular momentum and wavelength in metasurfaces based on arbitrary complex-amplitude control. Light: Science & Applications 13, 98 (2024).DOI
- [33]Sisler, J., et al. Electrically tunable space–time metasurfaces at optical frequencies. Nature Nanotechnology 19, 1491–1498 (2024).
- [34]Wu, G.-B., et al. A synthetic moving-envelope metasurface antenna for independent control of arbitrary harmonic orders. Nature Communications 15, 7202 (2024).DOI
- [35]Zhu, X., Crockett, B., Rowe, C.M.L., Sun, H. & Azaña, J. Agile manipulation of the time-frequency distribution of high-speed electromagnetic waves. Nature Communications 15, 8942 (2024).DOI
- [36]Sanjari, P. & Aflatouni, F. A reconfigurable non-linear active metasurface for coherent wave down-conversion. Nature Communications 16, 1987 (2025).DOI
- [37]Pacheco-Peña, V., Kiasat, Y., Solís, D.M., Edwards, B. & Engheta, N. Holding and amplifying electromagnetic waves with temporal non-foster metastructures. Nature Communications 16, 2757 (2025).
- [38]Chen, X.Q., et al. Integrated sensing and communication based on space-time-coding metasurfaces. Nature Communications 16, 1836 (2025).DOI
- [39]Yang, C., et al. High-dimensional multiplexing through vortex electromagnetic wave manipulation by space-time-coding metasurfaces. Light: Science & Applications 15, 160 (2026).DOI
- [40]Chen, L., et al. Accurate Modeling of Time-Varying Lumped Elements in Space-Time Metasurfaces. IEEE Transactions on Antennas and Propagation 73, 3849–3862 (2025).DOI