Topology plays a very important role in the frontiers of modern physics. It is well known that topological properties have been widely reported in condensed matter1,2,3,4 and classical waves5,6,7,8. In addition, topology is also employed in general relativity and modern cosmology9. There will be increased interest in the topological effects of cosmic space-times due to the recent breakthrough of gravitational wave detection. In particular, theorists predicted that some topological defects may have formed during a symmetry breaking of the Higgs vacuum field in the early universe when the topology of the vacuum manifold associated with this symmetry breaking was not simply connected. Examples are monopoles, cosmic strings, and domain wall10, which respectively are 0-dimensional, 1-dimensional, and 2-dimensional topological defects of spacetime. The experimental observation of these topological defects in astrophysics would revolutionize the vision of the cosmos. Furthermore, various schemes, such as gravitational waves and specific imprints in cosmic microwave background (CMB) radiation generated by cosmic strings, might be proposed for astronomical observation. However, to the best of our knowledge, thus far there is no good way to observe these topological defects in astrophysics. Fortunately, analog models from various systems in the laboratory environment have been motivated by the possibility of investigating phenomena not readily accessible in their cosmological counterparts. Examples are Hawking–Unruh radiation emulated from a Fermi-degenerate liquid11, a superconductor12, optical fiber13, nonlinear crystal14, ion ring15, and Bose–Einstein condensates16.

On the other hand, transformation optics based on metamaterials that manipulate permittivity and permeability profiles can be extensively investigated to design many artificial materials with novel optical applications17,18,19,20,21,22,23,24,25,26,27,28,29. The most important application of transformation optics is invisibility cloaks, in which light is regarded as linear parallel geodesic rays in deformed spaces. In Einstein’s general relativity theory, the spacetime curvature is determined by the energy and momentum. Recently, through mapping the metric of spacetime to electromagnetic medium constitutive parameters with local curvature, it has become possible to mimic general relativity phenomena. Examples from general relativity are black holes30,31,32,33,34,35, Einstein ring36, cosmic string37,38,39, Minkowski spacetimes40, electromagnetic wormholes41, De-Sitter Space42, cosmological inflation, and redshift43. The underlying principle is the form invariance of Maxwell’s equations between the complex inhomogeneous media and the background of an arbitrary spacetime metric. Recently, some other optical structures, such as curved waveguides44,45, nonlocal media46,47, and optical lattices48,49, have also been used to simulate the gravitational effects.

In addition to the 3-dimensional metamaterials, metasurface (2-dimensional metamaterials), with easy fabrication and low propagation loss, represent a new paradigm to manipulate electromagnetic waves. Examples are generalized refraction50,51, optical spin-Hall effects52,53, nonlinear response54,55, flat metalenses56, and information coding57. In particular, different kinds of metasurface have been used to control the propagation of surface waves58,59,60,61,62,63,64,65,66.

In this work, we experimentally demonstrate that a cosmic string, a 1-dimensional topological defect of space, can be emulated in an artificial waveguide, and its nontrivial topological effects can be directly observed. Given the corresponding relation between electromagnetic parameters and the metric of spacetime in general relativity, the electromagnetic parameters required by a cosmic string are equivalent to those of a coiled uniaxial crystal with a rotation axis being the defect center. Such an effective medium with a singularity was practically realized in an artificial waveguide bounded by a rotational metasurface, and its optical properties were investigated by exciting the waveguide modes. In our experiments, we can observe the photon deflection process in the synthetic topological space with a robust deflection angle that does not depend on the locations and momentum of incident photons. This is remarkably different from ordinary optical scattering in trivial space. Such a topological property can be regarded as the consequence of the symmetry breaking of photonic modes after including material loss. By tuning the structure parameters, we can obtain a symmetry breaking phase transition from trivial space to nontrivial topological space.


Theoretical design of synthetic topological space

To emulate the gravitational lensing of topological defects in cosmology, we start with a spacetime metric for a static cylindrically symmetric cosmic string (see Fig. 1a) in the low-mass limit with straight and infinite long length given as67:

$${\mathrm{d}}s^2 = {\mathrm{d}}t^2 - {\mathrm{d}}r^2 - \alpha ^2r^2{\mathrm{d}}\varphi ^2 - {\mathrm{d}}z^2$$
Fig. 1
figure 1

Mimicking definite photon deflections in topological spaces using artificial waveguides. a Photon deflection in the space of negative topological defect (photons pushed away from the center), positive topological defect (photons attracted to the center), and trivial space (photons pass along straight line). Definite photon deflection in artificial waveguide with negative topological defect (b), positive topological defect (d), and no topological defect (c). In (b, c, d), the blue arrows represent the incident laser beam from the bottom and the red lines represent the light rays inside the waveguides

where α = 1–4, G is the gravitational constant, μ is the linear mass density of the string along the rotation axis, and natural units have been adopted. The corresponding Riemann curvature is given by \(R_{12}^{12} = 2\pi \left( {1 - \alpha } \right)\delta ^{\left( 2 \right)}\left( r \right)/\alpha\), where δ(2)(r) is the 2-dimensional Dirac delta function in the plane. Therefore, the string is locally flat except a conical singularity at the origin. According to Riemann curvature, if the mass density of the string μ > 0, it carries positive curvature at the origin; and, it carries negative curvature with a negative mass density (μ < 0). It is well known that the motion of the photon follows the null geodesic of space-time, thus the trajectory of light moves toward (away from) the origin of the string with constant negative (positive) deflection angle, as shown in Fig. 1b–d. According to the geodesic equation: \(\ddot x^\lambda + \Gamma _{uv}^\lambda \dot x^u\dot x^v = 0\), where x represents the spatial coordinates and the derivatives are taken over an arbitrary affine parameter. The metric of the string has nonzero Christoffel symbols \(\Gamma _{{\mathrm{\varphi \varphi }}}^{\mathrm{r}} = - \alpha ^2r\), \(\Gamma _{{\mathrm{r\varphi }}}^{\mathrm{\varphi }} = \Gamma _{{\mathrm{\varphi r}}}^{\mathrm{\varphi }} = 1{\mathrm{/}}r\), and the light trajectory after some calculation can be described by r2α2\(\dot \varphi\)2 = C\(\dot r\)2, where C = b2/(r2 − b2), and b is the impact parameter. Therefore, we can analytically calculate the trajectory under different impact parameters. Furthermore, based on the Gauss–Bonnet theorem68, the light deflection angle is Δθ = π(1 − α)/α and is independent of the impact parameter.

The nontrivial topological space of a cosmic string can be simulated in an effective medium, according to the correspondence between the effective electromagnetic parameters and the spacetime metric based on transformation optics19: \(\varepsilon ^{ij} = \mu ^{ij} = \sqrt { - g} g^{ij}{\mathrm{/}}\left( {\sqrt \zeta g_{00}} \right)\), where εij and μij are artificial material parameters, gij is the metric of the cosmic string based on equation (1), ζ is the determinant of a spatial metric to transform one set of spatial coordinates to another. After calculations, the material parameter tensors required by the cosmic string have their principal values along r, φ, and z directions given as69

$$\varepsilon _{\mathrm{r}} = \mu _{\mathrm{r}} = \alpha ,\varepsilon _{\mathrm{\varphi }} = \mu _{\mathrm{\varphi }} = 1{\mathrm{/}}\alpha ,\varepsilon _{\mathrm{z}} = \mu _{\mathrm{z}} = \alpha$$

which can also be obtained by performing a linear transformation along the φ direction from a Minkowski space ds'2 = dt'2 − dr'2 − r'2dφ'2 − dz'2, with r' = r, φ' = αφ, z' = z. Here, considering different polarized light, we can define two orthogonal polarized waves: transverse electric (TE) wave with fields (Eφ,Er,Hz) and transverse magnetic (TM) wave with fields (Hφ,Hr,Ez). For TE wave, we can take the refractive indices69 \(\left( {n_{\mathrm{\varphi }}^2 = {\it{\epsilon }}_{\mathrm{r}}\mu _{\mathrm{z}} = \alpha ^2,n_{\mathrm{r}}^2 = {\it{\epsilon }}_{\mathrm{\varphi }}\mu _{\mathrm{z}} = 1} \right)\). For TM wave, we can take the refractive indices70 \(\left( {n_{\mathrm{\varphi }}^2 = \mu _{\mathrm{r}}{\it{\epsilon }}_{\mathrm{z}} = \alpha ^2,n_{\mathrm{r}}^2 = \mu _{\mathrm{\varphi }}{\it{\epsilon }}_{\mathrm{z}} = 1} \right)\). Thus, for both the polarizations, the corresponding refractive indices of the cosmic string are equivalent to a uniaxial crystal with a rotating axis \(n = \left( {\begin{array}{*{20}{c}} {n_{\mathrm{\varphi }}} & 0 \\ 0 & {n_{\mathrm{r}}} \end{array}} \right)\).

It is usually very difficult and impractical to construct an effective medium given equation (2) based on traditional 3-dimensional metamaterials in the optical region. In this work, we find a way to construct such a medium by combining a slab waveguide with a rotational metasurface (see Fig. 2a, b). The metasurface which consists of a subwavelength grating, can be considered to weakly disturb the waveguide modes. The effective parameter of such a waveguide is described as a tensor:\(n^2 = R^{ - 1}\left( \varphi \right)\left[ {\begin{array}{*{20}{c}} {n_{\mathrm{e}}^2} & 0 \\ 0 & {n_{\mathrm{o}}^2} \end{array}} \right]R\left( \varphi \right)\), where \(R\left( \varphi \right) = \left[ {\begin{array}{*{20}{c}} {\mathrm{cos}\left( \varphi \right)} & {\mathrm{sin}\left( \varphi \right)} \\ {\mathrm{ - sin}\left( \varphi \right)} & {\mathrm{cos}\left( \varphi \right)} \end{array}} \right]\) is the rotating operator, no and ne are the waveguide effective indices along the radial and azimuthal direction, respectively. As a whole region, such a waveguide is non-uniform whose effective index is angular dependent (see Fig. 2c). But in a local region (see Fig. 2d), the waveguide can be seen as a uniform anisotropic medium with a local elliptical iso-frequency contour: (kr/no)2 + (kφ/ne)2 = 1, where kr and kφ are wave vectors along the radial and azimuthal direction (see Supplementary Note 2). The local waveguide mode index has two principle values ne and no, whose effective index distribution is equivalent to that of a uniaxial crystal. By considering reduced refractive index, we see that the effective parameters in a structured waveguide using metasurface as the circular grating correspond well to that required by a cosmic string. And the ellipticity η = ne/no in iso-frequency contour plays the same role as the parameter α in the metric of the string. If η < 1, the string has positive mass density and carries positive curvature at the origin; and the photon undergoes an attractive force and moves toward to the origin of the string (Fig. 1d). When η > 1, the string has negative mass density and carries negative curvature at the origin, and the photon undergoes a repulsive force and moves away from the origin of the string (Fig. 1b). Furthermore, for the case of the isotropic waveguide, the ellipticity becomes η = 1, which corresponds to the absence of defect; the curvature of spacetime is zero; thus the photon undergoes no force, and light propagates in a straight line (Fig. 1c). The very remarkable property of such a waveguide is that the light deflection angle is only determined by the parameter η, which originates from the intrinsic topological properties of the cosmic string, which does not depend on the location and momentum of incident photons.

Fig. 2
figure 2

Theoretical design of artificial waveguides. a Schematic of a multilayer artificial waveguide. A cylindrical coordinate system (z,r,φ) is defined. b A micro-image of a rotational metasurface fabricated with a focused ion beam. The length of white scale bar is 1 μm. c The rotational metasurface with local anisotropic indices which are denoted by red curves. d The local elliptical iso-frequency contour of the artificial waveguide

Experiments of photonic deflection in topological space

In our experiments, the rotational metasurface with a set of periodic subwavelength circular gratings (as shown in Fig. 2b) was fabricated by focused ion beam (FEI Strata FIB 201, 30 keV, 7.7 pA) milling on a 200-nm-thickness silver film, which has been initially deposited on a silica substrate (SiO2). Then a polymethylmethacrylate (PMMA) resist mixed with oil-soluble PbS quantum dots was deposited on the silver film using a spin-coating process (as shown in Fig. 2a). Figure 2a shows the SiO2/silver/metasurface/PMMA/air multilayer structure. Figure 2c is the schematic plot of the structure, which indicates locally periodic gratings along the r direction as shown in Fig. 2d. In one fabricated sample, the structural parameters (see Supplementary Figure 1 (d)) are chosen as: the grating period p = 120 nm, the silver filling ratio f = 0.58, and thickness t = 200 nm, the depth h = 60 nm, PMMA thickness d = 300 nm; and the calculated effective parameters ne = 1.30, no = 1.22, thus the ellipticity η ≈ 1.065 > 1. This corresponds to a cosmic string with negative mass density and negative curvature at the origin; thus the motion of light undergoes a repulsive force and moves away from the origin of the string, as shown in Fig. 3a–f. According to the above theory, the light deflection in the synthetic nontrivial topological space is independent of the impact parameter with a definite angle θ1 = (η − 1)*π/η = 11.0°. This behaves drastically different from optical scatterers in trivial space usually that show broad random scattering angles. Such a nontrivial property can be directly observed in our experiment.

Fig. 3
figure 3

Experiments and simulations of definite photon deflections in artificial waveguides. ac Photon deflection observed in the experiment under different impact parameters (b = 4.84, 0, −7.14 μm) with negative mass density η ≈ 1.065. df The corresponding simulations using COMSOL Multiphysics. All three cases have the same deflection angle θ1 = 11.0°. gi Photon deflection observed in the experiment under different impact parameters (b = 12.91, 0, −17.06 μm) with positive mass density η ≈ 0.92. jl The corresponding calculated results using COMSOL Multiphysics. All three cases with positive mass density have the same deflection angle \(\theta _1^\prime = - 15.7^\circ\). The green dashed line indicates the calculated deflection angle from theory, the dashed white circles represent metasurface zones, and the green dot is the location of defect. In order to magnify the detail of the optical field profile and easily determine the deflection angle, the size of experiment images is zoomed in and the brightness contrast is increased

To study light propagation in an artificial waveguide, 785 nm light from a continuous-wave (c.w.) laser was coupled into the waveguide through a set of gratings with 650 nm period (see Fig. 1b); and the TE modes are chosen when the polarization of laser is parallel to coupling grating. As the coupled light propagates within the waveguide, it excites the quantum dots, which then re-emit fluorescent light at 1050 nm. The fluorescence emission will reveal the propagation dynamics and is used to analyze the ray trajectory. In the experimental process, the impact parameter of the incident photon is tuned by moving the location of the laser spot on the grating. The optical deflection in the waveguide was observed through a fluorescence imaging technique. The results under three different impact parameters are illustrated in Fig. 3a–c. And the measured deflection angles of three cases have almost the same value θ1 = 11.0°. Furthermore, to validate our experimental finding, full-wave simulations are performed using the finite element software COMSOL Multiphysics. The calculated deflection profiles are given in Fig. 3d–f. Compared with calculation results, the experiment results are not very clear which is mainly caused by the experiment techniques used in our work. Firstly, the quantum dots are not distributed uniformly inside the PMMA layer. Some quantum dots aggregate together and make the fluorescent intensity emitted at different locations non-uniform. Secondly, the size of the structure is very small and close to the ultimate machining precision of FIB. Some structure defects are unavoidably induced in the fabrication process. These defects will cause random scattering of light inside the waveguide. Although the quality of the experiment picture is not ideal due to the above experiment processes, the deflection angles obtained in Fig. 3a–c can be still determined and compared with theoretical results in Fig. 3d–f.

In addition to the negative curved curvature at the origin of the cosmic string with a negative mass density, the string with a positive mass density can also be experimentally demonstrated in such a system. In another experiment, the structural parameters are chosen as f = 0.58, p = 120 nm, h = 45 nm, t = 200 nm and PMMA thickness d = 0 (see Fig. 2a, b). For such a structure, we only have the first order TM modes, which are usually known as surface plasmon modes. Based on waveguide theory, the ellipticity is obtained as η = 0.92 (ne = 1.03, no = 1.12). It corresponds to the cosmic string with positive mass density, and the light propagates toward the origin of the string with a deflection angle \(\theta _1^\prime = - 15.7^\circ\) under different impact parameters. Based on the same optical technique used above, we experimentally investigated the light deflection under different impact parameters. We still use 785 nm laser as the input light. The measured results are shown in Fig. 3g–i, in which the theoretical calculated geodesic lines are given as green dashed lines for comparison. The simulated results are shown in Fig. 3j–l. Although the experiment results are not very clear due to experimental technique problems, it can be still seen that the deflection angles do not change under three different incident impact parameters, which agree with theoretical and simulation results.

Symmetry breaking of photonic modes with material loss

According to quantum field theory, a cosmic string originates from the topological phase transition induced by spontaneous symmetry breaking of the Higgs vacuum field in the early universe. In our system, such a symmetry breaking can be mimicked through the symmetric breaking of photonic modes after including material loss. In the above discussion, we can see that the non-degeneracy of TE and TM modes play a very important role in obtaining the topological space. Then, if we can find some way to transform the non-degenerate modes to degenerate modes in our system, it will be possible for us to mimic the birth of a cosmic string during the spontaneous symmetric breaking phase transition. Usually, the momentum of the TE mode kTE and TM mode kTM cannot equal each other, and there always is a momentum mismatch Δk = |kTE − kTM|, which is related to a coherence length lc = 1/Δk. For a finite value of lc, we can always differentiate the TE mode from the TM mode because the light can propagate a very long distance (>lc) without loss. However, if we include material loss, the propagation distance will have a finite value. Here, because lTE ≠ lTM, we define the propagation distance ld as the longer length of lTE and lTM for convenience. Now, if the propagation distance is smaller than the coherence length ld < lc, we cannot differentiate TE from TM mode and the waveguide modes are in degenerate states. This result can also be understood from Heisenberg’s uncertainty principle \({\mathrm{\Delta }}x \cdot \Delta p \ge \hbar {\mathrm{/}}2\). With material loss, the variation range of the location of a photon inside the waveguide is determined by the propagation distance Δx ~ ld/2. The allowed minimum variation of momentum is Δpmin ~ /ld. If ld > lc, the momentum mismatch Δk = /lc > Δpmin, and the two modes can be distinguished. However, if ld < lc, we have Δk < Δpmin, and the TE and TM modes cannot be distinguished and merge to one degenerate mode. Here, the critical case ld = lc can be regarded as the symmetric breaking condition. In addition, the degenerate photonic modes of ld < lc can be seen as the symmetric phase (kTE = kTM) and the non-degenerate states of ld > lc can be seen as the symmetry breaking phase (kTE ≠ kTM).

In our system, we can investigate the symmetry breaking process precisely through tuning the competition between ld and lc. In order to obtain such a process, we will simultaneously change the material loss and waveguide thickness. Based on the waveguide theory, the wave vectors of the TE mode kTE and TM mode kTM depend on the PMMA thickness (see Supplementary Figure 1). Then we can calculate the thickness dependence of the coherence length lc = 1/|kTE − kTM| shown as the yellow solid line in Fig. 4a. Because the wave vector changes very fast for small d, we use δ = 1/d instead of d in the discussion. In order to include loss, we define the refractive index of PMMA as n = 1.49 + , where γ represents the loss of PMMA. With the loss changing, we calculate the propagation distances of the TE and TM modes as illustrated in Fig. 4a. It can be seen that the yellow curve divides the figure into two regions. In the left region ld < lc, and this corresponds to the symmetric phase. While in the right region ld > lc, and this corresponds to the symmetric breaking modes. On the boundary (the yellow curve), the intersection point δc(lc = ld) can be seen as the critical phase transition point between the two phases. In the early universe, when the temperature is cooling down, the cosmic string is created through symmetry breaking of the Higgs vacuum field. Here, we can see the parameter δc plays the role of critical temperature in the phase transition. In addition, this critical point δc can be tuned through changing the loss γ. In Fig. 4a, we give the ld with different loss γ. It can be seen that ld is reduced with increasing γ. As a result, the phase transition point δc is shifted (see Supplementary Figure 2 and Note 3). Here, the loss γ plays the role as the self-energy of the Higgs field which determines the phase transition temperature. With the loss γ = 0.0015, the iso-frequency contour of the symmetric phase is a circle (see Supplementary Movie 1) with ellipticity η = 1 (see Fig. 4b). The iso-frequency contours of the symmetry breaking phase are two ellipses (see Supplementary Movie 1). The ellipticity of one curve is greater than unity (η > 1), which mimics the negative topological defect and the other is less than unity (η < 1), which mimics the positive topological defect (see Fig. 4b). If the loss disappears (γ = 0), the ld will become infinite and we will never obtain the transition point. Lastly, we can see that the material loss is the key in our system, which finally determines the symmetry breaking of spaces.

Fig. 4
figure 4

Symmetry breaking phase transition under different material loss. a The dependence of the propagation length of TE mode lTE, TM mode lTM, and coherence length lc on the structural parameter δ = 1/d (d is the thickness of the PMMA layer) with different loss parameters γ. The yellow line splits the region into two parts: symmetric phase (on the left side) and symmetry breaking phase (on the right side). The dependence of iso-frequency (b) and ellipticity (c) of photonic modes on δ with phase transition point δc = 0.335 μm−1. Here, material loss γ = 1.5 × 10−3

Topological defects with different mass

Furthermore, the cosmic string with various values of linear mass density can also be mimicked by steering the effective index profile of the waveguide through changing metasurface structures. In our process, we only tuned the depth h of the metasurface (see Supplementary Figure 1(b)) with other structural parameters unchanged. After the simulation calculation, it can be seen that the ellipticity of the effective parameters increases as the depth of the metasurface thickens. The larger ellipticity corresponds to the cosmic string with larger mass density at the origin, which leads to a larger deflection angle. As a result, the deflection angle will also increase with the thicker depth. In our experiment, we fabricated three samples with depths h = 60, 52, 36 nm. The measured results are provided in Fig. 5a–c, which are compared with numerical simulations in Fig. 5d–f. Although the experimental patterns are not very clear, we can still determine the deflection angles which agree with the theoretical and numerical results.

Fig. 5
figure 5

Photon deflections in different topological spaces. ac Experiments of definite optical deflection by cosmic strings with different mass densities η ≈ 1.065, 1.05, 1.025, and the measured deflection angles are θ1 = 11.0°, θ2 = 8.6°, θ3 = 4.4°. For these three samples, the period of the circular grating p = 120 nm, the silver filling ratio f = 0.58, and PMMA layer thickness t = 300 nm, but with different metasurface depth h = 60, 52, 36 nm. df The corresponding calculated results with COMSOL full-wave simulation. Experiment results of optical interference in non-trivial flat space (g) and topological space of cosmic string (h). Experiment results of the acceleration beam in flat space (i) and topological space of cosmic string (j). kn Corresponding simulation results using COMSOL software. In order to magnify the detail of the optical field profile and to easily determine the deflection angle, the size of experiment images is zoomed in and the brightness contrast is increased

Optical interference and accelerating beam in topological space

Because the cosmic string has the novel property of a robust definite deflection angle that does not depend on the location and momentum of incident photons, we can design many definite optical devices which bend light without distorting the field pattern. As is well known, the optical interference is very sensitive to optical scattering, and the interference pattern can be easily distorted by random scatterers in space. However, during the deflection process in the topological space of the cosmic string, the interference pattern between light beams is definitely bent without any obvious distortion. Figure 5g, h respectively shows the experimental results of optical interference in trivial space and topological space of the cosmic string. Figure 5k, l provides the corresponding simulations. It can be seen, in topological space, the interference pattern is uniformly bent with a definite angle θ4 = 11.5° without obvious distortion.

Furthermore, the special property with the robust definite deflection angle can be also used to bend some other complex optical field, such as an accelerating electromagnetic (EM) wave packet. An example is the Airy beam, a paraxial beam that propagates along a parabolic trajectory while preserving its shape. These accelerating wave packets were followed by many applications such as manipulating microparticles, self-bending plasma channels, and accelerating electron beams. However, due to the realization condition required by the paraxial approximation, the accelerating angle is very small (see Fig. 5i, m). But by using the novel property of the cosmic string, the bending angle of the Airy beam can be enlarged without any distortion of the field pattern. Figure 5j shows an Airy beam is bent with θ4 = 11.5° by a cosmic string with mass density η = 1.068. The simulation in Fig. 5n also shows the same bending angle.


In the above results, we have experimentally demonstrated the optical analogy of topological space of cosmic string by constructing an artificial waveguide based on rotational metasurface. We have observed robust definite photon deflection in both positive and negative topological space. By tuning the waveguide thickness and material loss, we can obtain the symmetry breaking of the photonic mode and mimic the creation of a cosmic string in the early universe. This remarkably robust photon deflection can be used as a new kind of omnidirectional lens, which can bend light definitely without changing the beam profiles. Such a unique property can be used in optical focusing, imaging, and information transfer. In this work, we only mimic the 1-dimensional topological defect, a cosmic string. In future, the reported method can possibly be extended to mimic a 0-dimensional monopole and 2-dimensional topological domain wall10. By combining the quantum field and gravity, topological gravity plays a very important role in modern theoretical physics9. But most of its subtle theoretical predictions are still very obscure and far from an experimental test. The method employed in this work can provide an experimental platform to investigate topological gravity and many other unusual topological properties of spacetimes. Furthermore, the topological properties of space-time originate from the quantum effect of gravity. In order to explore the quantum effect of gravity, we should combine quantum optics with transformation optics in future research. Such prospective research may have potential applications in the relativistic quantum information technologies.