The study of topological phases of matter has seen significant advancements in recent years, largely driven by the discovery and exploration of their distinctive topological edge states. Here, we delve into the edge properties of a one-dimensional periodic multilayer structure. The analysis reveals that this system exhibits characteristics akin to the Su–Schrieffer–Heeger model in optics. The theoretical analysis explores the impact of multiple interfaces on the emergence of a topological edge mode (TEM) within the structure. The proposed heterostructure functions as a general beam splitter. Moreover, when the interface is doubled, the heterostructure exhibits two TEM states, resulting from the quantization of an incoming beam into its two equally orthogonal constituents. As the number of interfaces increases, more quantized TEM states occur within the photonic bandgap. Also, it identifies that the quality factor of the original TEM mode at 382.08 THz frequency linearly increases with respect to the number of interfaces. The outcome suggests potential applications in photonic sensors, optoelectronics, and photonic devices, indicating the heterostructure’s pivotal role in advancing these fields.