1 Introduction

With the rapid development of photonic integrated devices, ultrafast photonic spiking neural networks (PSNN) have been realized using integrated photonic nonlinear devices. This advancement provides a new approach to realize neuromorphic computing (i.e., brain-inspired computing) [1,2,3,4]. PSNN exhibit sub-nanosecond response times, enabling operation speeds up to 9 orders of magnitude faster than biological neuromorphic computation. Additionally, PSNN require lower power consumption similar to biological neurons as it only operates when pulse events occur [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]. Consequently, PSNN has garnered significant attention in the field of brain-inspired computing. Currently, research on PSNN primarily focuses on studying the properties of photonic neurons and exploring the network construction and training methods.

Research on PSNN neurons has reported a variety of structures that utilize nonlinear photonic components as biomimetic neurons [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]. These include graphene saturable absorption lasers [5], micro-disk lasers [6], two-section semiconductor lasers (SL) [7, 8], silicon-based micro-ring resonators (MRR) [9,10,11], micro-pillar lasers [12], and vertical-cavity surface-emitting lasers (VCSEL) [15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]. In particular, VCSELs offer unique advantages such as lower threshold power, single longitudinal-mode lasing, rich polarization dynamics, easy coupling to optical fibers, and straightforward integration into two-dimensional arrays [15,16,17,18,19,20,21,22,23,24]. As a result, the use of VCSELs as spiking neurons has been widely studied in recent years. Their characteristics including leaky-integrate-and-fire (LIF) properties [15,16,17,18,19,20,21,22,23], excitability [15,16,17,18], inhibitability [19], reproducibility, controllability and spiking propagation [20, 21], are similar to those of biological neurons. A study by A. Hurtado et al.., which involved experimentally injecting orthogonal polarization pulse into VCSELs found that, under certain conditions of injection strength and frequency detuning, the orthogonal output exhibited phasic and tonic spiking due to polarization switching and frequency beating [15]. Subsequently S. Y.Xiang et al.. numerically analyzed how system parameters influenced the characteristics of spiking neurons for this structure. They discovered serious relaxation oscillation (RO) in the tail of the spiking train [16]. Two solutions have been proposed: one is introducing a continuous component in orthogonal polarization and a pulse component in parallel polarization, in order to realize the transition between two injection-locked states (phasic pulse), or the transition from injection-locked state to beating effect between two injected fields (tonic pulse) [17]. The other one is applying negative external stimulus pulse on the continuous wave with orthogonal polarization optical injection, so that the output enters partial locking and experiences spiking excitation [18]. T. Deng et al.. demonstrated that latter solution exhibits good controllability repeatability and propagation characteristics [20, 21]. Y. Lu et al.. proposed a frequency-switched VCSEL neuron which experimentally obtained stable spiking response up to 1 Gbps [22]. Additionally, it was found that VCSEL with saturable absorption also displays high-quality spiking neuron characteristics [23,24,25,26,27].

In terms of PSNN network research, since 2018, S. Y. Xiang et al.. realized the unsupervised training of single-hidden layer PSNN composed of multiple VCSEL-SAs based on spike-timing-dependent plasticity (STDP) rules [24]. They also used the supervised training for the single-hidden layer VCSEL-PSNN based on STDP, anti-STDP and remote supervised method (ReSuMe) [25]. The VCSEL-SA-based PSNN was further applied to digital recognition, and good accuracy was achieved [26]. In 2021, the simultaneous adjustment of delay and weight was proposed, which effectively reduced the number of training times, and was successfully used for the classification tasks with accuracy greater than 92% [27]. In 2023, the characteristics of spiking neurons based on Fabry-Perot semiconductor laser (FP-SL) with saturable absorption regions were experimentally studied and used for image recognition [28]. Based on a single VCSEL neuron, image edge detection with high accuracy has been obtained [29, 30]. The XOR task was also performed in a single VCSEL-SA [31]. In 2022, Y. Lu et al.. proposed a delay-weighted PSNN architecture constructed by cascaded frequency and intensity switch VCSEL, which can generate spiking delay up to 60 ns, and was utilized for classification tasks with accuracy of > 90% [32].

Compared to traditional VCSELs, Spin-VCSELs exhibit certain advantages. They demonstrate threshold reduction under certain conditions [33, 34], and the polarization state of the laser output can be manipulated by controlling pumping ellipticity (resulting in close-to-unity lasing output ellipticity) [35,36,37]. By manipulating physical parameters, Spin-VCSELs can also exhibit circularly polarized switching and bistability [38,39,40]. One notable advantage of Spin-VCSELs is their potential for ultra-high polarization oscillation frequencies, which can overcome the modulation bandwidth limitations observed in traditional VCSELs due to RO [41,42,43]. The use of strain to increase birefringence effects has been reported to achieve spin-polarized modulation (SPM) bandwidths up to 200 GHz [42, 43]. Regarding the nonlinear dynamics of Spin-VCSELs, N. Q. Li et al.. conducted a numerical analysis on parameter dependencies for stable regions of both left circular polarization (LCP) and right circular polarization (RCP) components, and discussed the characteristics of chaos communication based on Spin-VCSEL [44,45,46]. T. T. Song et al.. investigated the effects of various parameters on complex dynamics in Spin-VCSELs under optical feedback [47]. R. Al-Seyab et al.. utilized the spin-flip model (SFM) and largest Lyapunov exponent (LLE) analysis to examine stable and unstable regions in Spin-VCSEL systems [48]. The nonlinear dynamics of Spin-VCSELs have also been successfully applied in high-speed photonic reservoir computing (RC) applications [49]. However, to the best of our knowledge, there have been no reported studies on the related dynamic behavior of PSNN neurons based on Spin-VCSEL. Compared with traditional VCSEL, optically pumped Spin-VCSEL has richer polarization dynamics, therefore, the parameters influence on neuron spiking are also different. In addition, the spiking delay can be flexibly adjusted over a larger range by pump ellipticity, which is significant for the design of PSNN towards complex tasks [32].

Based on the aforementioned considerations, this study proposes Spin-VCSEL as the neuron for PSNN and comprehensively discusses the excitatory and inhibitory spiking dynamics. Furthermore, the feasibility of spiking information propagation between two cascaded Spin-VCSEL neurons is analyzed. Our work is meaningful on enriching the polarization dynamics of Spin-VCSEL-based spiking neuron, and can provide valuable guideline for manipulation and optimization of this neuron.

The content of this paper is divided into three parts: Firstly, the structure and theoretical model of Spin-VCSEL are presented. This section provides a detailed description of the Spin-VCSEL’s architecture and establishes a theoretical model to analyze its behavior. Secondly, the influence and physical mechanism of external disturbances on the dynamics of Spin-VCSEL are discussed. Various factors that affect the performance of Spin-VCSELs are examined, and their underlying physical mechanisms are explored. Finally, high-quality spiking propagation in cascaded Spin-VCSELs is demonstrated. The ability of two cascaded Spin-VCSEL neurons to propagate spiking information effectively is investigated and showcased. This analysis focuses on understanding how spiking information can be effectively transmitted from one neuron to another within a network configuration of PSNN. By addressing these aspects, this study aims to contribute to a better understanding of using Spin-VCSEL as a neuron in PSNN systems.

2 Theoretical model

Fig. 1
figure 1

Schematic diagram of PSNN neuron based on optically pumped Spin-VCSEL. SL: Semiconductor laser; EOM: Electro-optic modulator; PC: Polarization controller; T-Spin-VCSEL: Transmitter of Spin-VCSEL; R-Spin-VCSEL: Receiver of Spin-VCSEL; SG: Signal generator; CIR: Circulator; PBS: Polarization beam splitter; PD: Photodetector; OC: optical coupler

Figure 1 illustrates the schematic diagram of the neuron used in the photonic spiking neural network (PSNN), which consists of cascaded, optically pumped Spin-VCSELs. The output of a semiconductor laser (SL) is externally modulated using an electro-optical modulator (EOM) driven by a signal generator (SG). This modulated output is then injected into a Spin-VCSEL, i.e., transmitter (T-Spin-VCSEL) through a circulator (CIR1). By controlling external perturbation intensity and other parameters, the spiking output and LIF function can be achieved based on the switching from injection locking to partial locking. To study spike propagation characteristics between cascaded neurons, the T-Spin-VCSEL output is divided into two paths using an optical coupler (OC). One path is detected by a polarization beam splitter (PBS2) and photodetectors (PD3 and PD4). The other path is injected into another Spin-VCSEL, i.e., receiver (R-Spin-VCSEL) via CIR2 and detected using PBS1 and photodetectors (PD1 and PD2). The nonlinear dynamics for cascaded Spin-VCSELs can be described based on the spin-flip model (SFM), as discussed in previous studies [45, 47, 49]:

$$\begin{aligned}\frac{{d{E_{+,T}}}}{{dt}}&=k\left( {{N_T}+{n_T} - 1} \right)\left( {1+i\alpha } \right){E_{+,T}} - \left( {{\gamma _a}+i{\gamma _p}} \right){E_{ - ,T}}\\&\;+{k_{inj+,T}}\left[ {{E_{inj}}+\Delta E\left( t \right)} \right]{e^{i\Delta {\omega _1}t}}+{F_{+,T}}\end{aligned}$$
(1)
$$\begin{aligned}\frac{{d{E_{ - ,T}}}}{{dt}}&=k\left( {{N_T} - {n_T} - 1} \right)\left( {1+i\alpha } \right){E_{ - ,T}} - \left( {{\gamma _a}+i{\gamma _p}} \right){E_{+,T}}\\&\;+{k_{inj - ,T}}\left[ {{E_{inj}}+\Delta E\left( t \right)} \right]{e^{i\Delta {\omega _1}t}}+{F_{ - ,T}}\end{aligned}$$
(2)
$$\begin{aligned}\frac{{d{E_{ \pm ,R}}}}{{dt}}&=k\left( {{N_R} \pm {n_R} - 1} \right)\left( {1+i\alpha } \right){E_{ \pm ,R}} - \left( {{\gamma _a}+i{\gamma _p}} \right){E_{ \mp ,R}}\\&+{k_{inj,R}}{E_{ \pm ,T}}(t - \tau ){e^{i\Delta {\omega _2}t - i{\omega _T}\tau }}+{F_{ \pm ,R}}\end{aligned}$$
(3)
$$\begin{aligned}\frac{{d{N_{T,R}}}}{{dt}}&={\gamma _N}\left[\right. {{\eta _{T,R}} - \left( {1+{{\left| {{E_{+,T,R}}} \right|}^2}+{{\left| {{E_{ - ,T,R}}} \right|}^2}} \right)}\\&{{N_{T,R}} - {n_{T,R}}\left( {{{\left| {{E_{+,T,R}}} \right|}^2} - {{\left| {{E_{ - ,T,R}}} \right|}^2}} \right)} \left.\right]\end{aligned}$$
(4)
$$\begin{aligned}\frac{{d{n_{T,R}}}}{{dt}}&={\gamma _N}{P_{T,R}}{\eta _{T,R}} - \left[ {{\gamma _S}+{\gamma _N}\left( {{{\left| {{E_{+,T,R}}} \right|}^2}+{{\left| {{E_{ - ,T,R}}} \right|}^2}} \right)} \right]\\&{n_{T,R}} - {\gamma _N}\left( {{{\left| {{E_{+,T,R}}} \right|}^2} - {{\left| {{E_{ - ,T,R}}} \right|}^2}} \right){N_{T,R}}\end{aligned}$$
(5)
$${F_{ \pm ,T,R}}={\xi _{a,b}}\sqrt {{\beta _{T,R}}{\gamma _N}\left( {{N_{T,R}} \pm {n_{T,R}}} \right)}$$
(6)

Here, Eq. (1) describes the dynamics of cascaded Spin-VCSELs, T and R represent the T-Spin-VCSEL and R-Spin-VCSEL, respectively. E+ and E are the slowly varying amplitudes of the optical fields for RCP and LCP, respectively. The third term on the right side of Eq. (1) represents optical injection, with Einj representing the continuous injection amplitude and ΔE representing external disturbance. NT, R is the total carrier population inversion, while nT, R accounts for the difference between carrier inversions for spin-up and spin-down channels. PT, R denotes pump ellipticity of transmitter and receiver. Δω1 and Δω2 (where Δω1 = ωinj - ωT and Δω2 = ωT - ωR) represent angular frequency detuning of optical injection relative to free-running condition. Here, ωinj, ωT, ωR correspond to angular frequencies of external injection signal, T-Spin-VCSEL output and R-Spin-VCSEL output respectively. F+,T, R, F−,T, R are the noise terms. ξa, b represents independent Gaussian white noise with unit variance and zero mean values. In addition, kinj+,T and kinj−,T are the injection strengths of T-Spin-VCSEL for the component of RCP and LCP respectively, kinj, R is the injection strength from transmitter to receiver. For simplicity, within this study, it is assumed that both Spin-VCSELs have identical physical parameters such as k, α, γa, γp, βT, R,γN, γs, and ηT, R. In our simulation, for RCP optical injection, kinj+,T =125 ns− 1, kinj−,T = 0 ns− 1; for LCP optical injection, kinj+,T = 0 ns− 1, kinj−,T = 125 ns− 1. The used physical parameters are listed in Table 1 unless otherwise specified.

Table 1 Physical parameters used in simulation

3 Results and discussions

3.1 Excitatory spiking dynamics of Spin-VCSEL

Fig. 2
figure 2

Under free-running condition, normalized intensity (IT,±) of RCP (red), LCP (blue), and the output ellipticity (Pout, green) as functions of ηT (a) and PT (b). In (a), PT = 1. In (b), ηT = 2

Firstly, we investigate the output intensity and ellipticity as functions of ηT and PT under free-running condition, the results are shown in Fig. 2(a) and (b), where PT = 1 in (a) and ηT = 2 in (b). Here, IT,± = ǀET,±ǀ2, the output ellipticity Pout is defined as (IT,+ - IT,−)/ (IT,+ + IT,−). From (a), the output intensity of RCP is significantly larger than LCP as a result of RCP pump. The physical mechanism is associated with the unbalanced number of spin-polarized carriers, represented by NT + nT and NT - nT, which can be controlled by PT. From (b), we can obtain the opposite Pout under the pump ellipticity PT and -PT. Furthermore, under PT = 0, the same free-running output (IT,+ = IT,− = 0.508) can be found. Note that the unique polarization manipulation capability using spin-VCSEL agrees well with that of experimental report in Ref [37]. , confirming the reliability of our numerical simulation.

Fig. 3
figure 3

(a1f1) Normalized intensity (IT,±) of RCP (red) and LCP (blue) varies with ΔE; (a2f2) Corresponding spin-polarized carriers NT + nT and NT - nT. Δf1 = -16 GHz, PT = 1, fp = 40 MHz, Td = 10 ns, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. In (a1)-(f1) and corresponding (a2f2), ΔE is -0.1, -0.107, -0.14, -0.18, -0.195, and − 0.25 respectively

We then exploit the excitatory spiking dynamics under RCP optical injection. The results under LCP optical injection will be demonstrated latter. Figure 3(a1)-(f1) show the normalized intensity of RCP and LCP (IT,±) of T-Spin-VCSEL varies with the change of ΔE, where Δf1 = Δω1/2π = -16 GHz, PT = 1, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. The frequency of stimulus spiking (ƒp) and duration (Td) are 40 MHz and 10 ns respectively. In (a1)-(f1), the value of ΔE is -0.1, -0.107, -0.14, -0.18, -0.195 and − 0.25, respectively. The corresponding spin-polarized carriers NT + nT and NT - nT are shown in (a2)-(f2). In Fig. 3(a1), it can be observed that, for smaller values of |ΔE|, a larger continuous injection component (kinjEinj) leads to injection locking of RCP to the external signal in T-Spin-VCSEL, resulting in a stable output of RCP while the output intensity of LCP is close to 0. Note that the overshoot and undershoot can be seen at the edges of negative stimulus due to the abrupt variation of NT + nT and NT - nT [see (a2)]. Figure 3(b1) shows that when the external disturbance ΔE reaches − 0.107, both RCP and LCP modes of T-Spin-VCSEL simultaneously emit sub-nanosecond spikes. Upon removal of the disturbance, the laser output returns to an injection locked state. This behavior is similar to LIF characteristics observed in biological neurons [7]. The firing of RCP(LCP) occurs whenever the corresponding NT + nT (NT - nT) is recovered (due to negative stimulus) and exceeds the threshold 1, see (b2). Once a spike is generated, the carrier depletion makes the output intensity enter a refractory period. Figure 3(c1-d1) demonstrate that when ΔE is set at -0.14 and − 0.18, the two polarization modes of T-Spin-VCSEL exhibit high-frequency tonic spiking output. However, for ΔE = -0.195 shown in (e1), the quasi-periodic state is generated in both polarization modes. Furthermore, Fig. 3(f1) illustrates that for ΔE = -0.25, the output enters a RO state.

Figure 4 show the bifurcation diagrams of maximal output intensity as a function of ΔE under PT = 1. Here, the outputs of RCP and LCP are demonstrated in left column (a1-e1) and right column (a2-e2) respectively. The range shown here is limited to ΔE ∈ [-0.3, 0], as outputs enter RO and chaos states for the range of ΔE ∈ [-0.5, -0.3]. The bifurcation diagram reveals various regions: (1) and (2) regions where tonic spiking occurs; other regions corresponding to stable output, RO or chaos state. These results demonstrate that coexistence between the two polarization modes is possible within certain ranges of ΔE values and complex nonlinear dynamics such as periodic and chaotic states can be observed. The region of generating spiking pulse are similar for both RCP/LCP, as seen from the comparison of Fig. 4(a1)-(e1) and (a2)-(e2). We observed that for various pump ellipticity PT, the different polarization dynamics can be obtained, therefore, the generation region of ΔE for tonic spiking should be varied accordingly.

Figure 5 presents the bifurcation diagram of RCP with external disturbance ΔE under different injection detuning Δf1, where PT = 1, fp = 40 MHz, Td = 10 ns, kinj+,T = 125 ns− 1, and kinj−,T = 0 ns− 1. To ensure that the system remains in an injection locked state without any disturbance, negative detuning values are selected. It can be observed that when Δf1 is -12 and − 14 GHz, two tonic spiking regions exist [see (d), (e)]. When Δf1 is -6, -8, -10 and − 18 GHz, only region (1) generates tonic spiking while the rest exhibit RO or chaotic states [see (a)-(c), and (f)]. Although not shown here, as |Δf1| decreases further, the region generating tonic spiking almost disappears. Furthermore, as |Δf1| decreases, a larger threshold of |ΔE| is required to transition from injection locking to partial locking. Therefore, selecting appropriate values for both Δf1 and ΔE is crucial for achieving ideal spiking behavior.

Fig. 4
figure 4

Bifurcation diagrams of maximal output intensity as a function of ΔE under different pump ellipticity PT. (a1, a2): PT = 1; (b1, b2): PT = 0.5; (c1, c2): PT = 0; (d1, d2): PT= -0.5; (e1, e2): PT = -1. fp = 40 MHz, Δf1 = -16 GHz, Td = 10 ns, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. Regions (1) and (2) correspond to tonic spiking. Left column: RCP outputs; Right column: LCP outputs

Fig. 5
figure 5

Bifurcation diagram of RCP as a function of ΔE under different injection detuning Δf1. (a): Δf1 = -6 GHz; (b): Δf1 = -8 GHz; (c): Δf1 = -10 GHz; (d): Δf1 = -12 GHz; (e): Δf1 = -14 GHz; (f): Δf1 = -18 GHz. fp = 40 MHz, PT = 1, Td = 10 ns, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. Regions (1) and (2) correspond to tonic spiking

Fig. 6
figure 6

Temporal maps plotting of the output response for RCP (a1) and LCP (a2) under different pump ellipticity PT. ΔE = -0.126, Δf1 = -16 GHz, fp = 40 MHz, Td = 10 ns, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1

Figure 6 displays temporal maps of output response for RCP (a) and LCP (b) under different pump ellipticity value PT. The parameters used are fp = 40 MHz, ΔE = -0.126, Δf1 = -16 GHz, Td = 10 ns, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. The results demonstrate that as PT increases, the tonic spiking generated by both RCP and LCP modes becomes more frequent or dense. This indicates that compared to traditional VCSEL spiking neurons [15,16,17,18,19,20,21,22,23,24], the proposed neuron utilizing Spin-VCSEL offers a new dimension for manipulation. Furthermore, with an increase in PT, the spiking delay between the first occurrence of a spike and the start of external disturbance is reduced for both polarization modes.

Fig. 7
figure 7

(a) Under different pump ellipticity PT, spiking delay of RCP varies with ΔE; (b) Variation of spiking delay for RCP as a function of PT under the different ΔE. Δf1 = -16 GHz, fp = 40 MHz, Td = 10 ns, kinj+,T = 125 ns-1, kinj-,T = 0 ns-1

Figure 7(a) illustrates the variation of spiking delay with ΔE under different pump ellipticity values PT for RCP. Since the spiking delay for RCP is similar to that of LCP, only RCP is shown here. It should be noted that the repetition period of the tonic spiking train is essentially close to the spiking delay defined above [22], and thus only the spiking delay is demonstrated in this figure. As depicted in Fig. 7(a), the spiking delay decreases as |ΔE| increases. This implies that when operating far from the locking region, higher frequency spiking can be generated. By careful simulations, we found that the maximal time-delay is always obtained when ΔE closes to the transition point from injection locking state to spiking state. For instance, under the given parameters of Fig. 4, these transition values of ΔE are − 0.125, -0.122, -0.117, and − 0.111 for PT = -1, -0.5, 0, 0.5 respectively. To demonstrate the delay enhancement around these ΔE values, Fig. 7(b) shows the spiking delay as a function of PT within the range [-1, 1]. It can be observed that, the larger time-delay can be achieved when PT is -0.984, -0.524, 0.025, 0.532, thus confirming the above conclusion. As an example, for ΔE = -0.125 and PT = -0.984, a time-delay as large as 196.8 ns can be obtained. Note that when ΔE deviates from these optimization points, the time-delay adjustment range is typically within ~ 10 ns when changing PT, as shown in Fig. 7(a). Therefore, by precisely adjusting system parameters, a wider range of delay adjustment can be achieved, thus providing a new control way for training photonic spiking neural networks (PSNN) based on delay-weight adjustment [27, 32]. This flexible and larger tunability range using Spin-VCSEL is particularly valuable when processing more complex tasks with fewer presynaptic neurons [32].

Fig. 8
figure 8

Bifurcation diagram of RCP (left column) and LCP (right column) outputs as a function of ΔE under LCP optical injection. (a1, a2): PT = -1; (b1, b2) PT = -0.5. fp = 40 MHz, Δf1 = -16 GHz, Td = 10 ns, kinj+,T = 0 ns− 1, kinj−,T = 125 ns− 1

Although the excitatory spiking dynamics demonstrated above is under RCP optical injection, further study shows that, the spiking dynamics under LCP optical injection at the pump ellipticity PT is the same with that of RCP optical injection at -PT. As an example, Fig. 8 shows the bifurcation diagram of RCP and LCP outputs as a function of ΔE under LCP optical injection, where PT = -1 [(a1, a2)] and PT = -0.5 [(b1, b2)]. In this case, under free-running, the LCP output intensity is significantly larger than RCP component [see Fig. 2(b)]. Hence, this case belongs to parallel polarization optical injection (PPOI). By careful comparison, we found that the bifurcation of RCP(LCP) outputs [Fig. 8(a1, a2), PT = -1] is basically the same with that of LCP(RCP) outputs shown in Fig. 4(a1) and (a2) (PT = 1). Similarly, by comparing Fig. 8(b1, b2) (PT = -0.5) and Fig. 4(b1, b2) (PT = 0.5), the same symmetry can also be obtained. Hence, due to the symmetry pointed above, in the following, we will discuss the inhibitory spiking dynamics only under RCP optical injection.

3.2 Inhibitory spiking dynamics of Spin-VCSEL

Fig. 9
figure 9

(a1, b1) Inhibitory spiking dynamics behavior of RCP (red) and LCP (blue) output under different ΔE. (a2, b2) Corresponding spin-polarized carriers NT + nT and NT - nT. (a1, a2): ΔE = 0.04, (b1, b2): ΔE = 0.1. Δf1 = -21 GHz, fp = 40 MHz, Td = 10 ns, PT = 1, kinj+,T = 125 ns-1, kinj-,T = 0 ns-1

Fig. 10
figure 10

Temporal maps plotting of inhibitory output for RCP (a1) and LCP (a2) under different Td. Δf1 = -21 GHz, fp = 40 MHz, PT = 1, ΔE = 0.1, kinj+,T = 125 ns-1, kinj-,T = 0 ns-1

We also explored the inhibitory spiking dynamics of photonic neurons using positive external disturbance (ΔE > 0) for Spin-VCSEL. Figure 9 shows the inhibitory spiking dynamics behavior of RCP (red) and LCP (blue) output under different ΔE, where Δf1 = -21 GHz, fp = 40 MHz, Td = 10 ns, PT = 1, kinj+,T = 125 ns-1, kinj-,T = 0 ns-1. In Fig. 9(a1), the system parameters were carefully adjusted to ensure that both RCP and LCP modes exhibit tonic spiking in the absence of any external stimulus. However, when a weak external stimulus with ΔE = 0.04 is applied, the number of spikes in both modes is reduced during the stimulation duration, but tonic spiking still persists. When ΔE is increased to 0.1, as shown in Fig. 9(b1), both of spiking for RCP and LCP modes are completely suppressed, successfully emulating inhibitory dynamics seen in biological neurons [19]. The physical mechanism is attributed to the carrier depletion due to the positive stimulus, as shown in Fig. 9(a2) and (b2). Figure 10 presents the output state diagram of both modes under different Td values while keeping ΔE fixed at 0.1 and other parameters unchanged from Fig. 9. It can be observed that with these given parameters, varying Td leads to effective suppression of tonic spiking in LCP and RCP modes. Furthermore, the dynamic behaviors of the two modes demonstrate good consistency within this range of parameter variations.

3.3 Spiking propagation characteristics of cascaded Spin-VCSELs

Fig. 11
figure 11

Propagation characteristics of spikes generated by T-Spin-VCSEL (left column) and received by R-Spin-VCSEL (middle and right columns) for different ΔE. For T-Spin-VCSEL, (a1): ΔE = -0.107, (b1): ΔE = -0.14, (c1): ΔE = -0.18. For R-Spin-VCSEL, (a2c2): kinj, R = 125 ns-1. (a3c3): kinj, R = 50 ns-1. Δf1 = -16 GHz, Δf2 = -15.6 GHz, PT, R = 1, Td = 10 ns, fp = 40 MHz, kinj+,T = 125 ns-1, kinj-,T = 0 ns-1

In this section, we will discuss the effects of stimulus perturbation ΔE and duration Td on the spiking propagation characteristics between two cascaded neurons. Figure 11 illustrates the spikes generated by T-Spin-VCSEL and received by R-Spin-VCSEL under different ΔE values. The parameters used are PT, R = 1, Td = 10 ns, Δf1 = -16 GHz, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1, and Δf2 = Δω2/2π = -15.6 GHz. It is assumed that the polarization modes of the transmitter are injected into the same mode at the receiver. For ease of comparison, the laser output at the receiver is shifted forward by a delay of τ (i.e., 10 ns) during plotting. For a perturbation of ΔE = -0.107 [see (a1)], the polarization modes of T-Spin-VCSEL can generate three spikes. When these spikes propagate to R-Spin-VCSEL, both of LCP and RCP modes also produce similar spikes with the same number for a proper injection strength kinj, R = 125 ns− 1[see (a2)]. However, for a lower injection strength, quasi-periodic pulse would be produced at the receiver, as shown in Fig. 11(a3), where kinj, R = 50 ns− 1. By increasing the intensity of disturbance to ΔE = -0.14 and ΔE = -0.18 [see (b1)-(b3), (c1)-(c3)], we can observe similar responses.

Fig. 12
figure 12

Temporal maps plotting of spiking response for the two Spin-VCSELs with different Td. ΔE = -0.14, the other parameters are the same as Fig. 11(b1) and (b2). (a1a2) is the output of T-Spin-VCSEL, (b1b2) is the output of R-Spin-VCSEL, the left and right columns correspond to RCP and LCP outputs respectively

Figure 12(a) and (b) depict state diagrams of spiking responses for the two Spin-VCSELs under different Td values, where ΔE is fixed at -0.14 and other parameters are identical to those in Fig. 11(b1) and (b2). By adjusting the duration of the disturbance, T-Spin-VCSEL can achieve controllable spiking response times, which can then propagate successfully to R-Spin-VCSEL, reproducing similar spikes with the same number. Further investigation reveals that for unidirectionally-coupled Spin-VCSEL neurons, only under strong enough injection strength stimulation can the receiver generate a spiking response. This conclusion is supported by Fig. 13(a1) and (a2), which presents a bifurcation diagram of R-Spin-VCSEL as a function of kinj, R. From this figure, it can be inferred that tonic spiking generation occurs when kinj, R > ~ 90 ns− 1. The threshold feature is similar to conventional electric pumping VCSEL [50], for which a successful and high-quality spiking propagation can be realized when the coupling strength exceeds a certain value. We also simulated the bifurcation diagram of R-Spin-VCSEL under various detuning Δf2 and pump ellipticity PR of R-Spin-VCSEL. The results are shown in Fig. 13(b1), (b2), (c1) and (c2). It is observed that the spiking patterns can be propagated successfully over a wide optimization range of Δf2 (within the range of -23.5 ~ 29 GHz under PR = 1). Furthermore, the spiking propagation is not sensitive to the value of PR under the detuning Δf2 = -15.6 GHz.

Fig. 13
figure 13

Bifurcation diagram of R-Spin-VCSEL as functions of kinj,R [(a1), (a2)], Δf2 [(b1), (b2)], and PR [(c1), (c2)]. For T-Spin-VCSEL, ΔE = -0.14, PT = 1, Td = 10 ns, fp = 40 MHz, Δf1 = -16 GHz, kinj+,T = 125 ns− 1, kinj−,T = 0 ns− 1. For R-Spin-VCSEL, (a1), (a2): Δf2 = -15.6 GHz, PR = 1; (b1), (b2): kinj, R = 125 ns− 1, PR = 1; (c1), (c2): kinj, R = 125 ns− 1, Δf2 = -15.6 GHz. The left and right columns correspond to RCP and LCP outputs respectively

4 Conclusions

In summary, the excitability and inhibitory spiking dynamics of Spin-VCSEL neurons have been explored theoretically. We also investigated the propagation behavior of spike information between two unidirectionally-coupled Spin-VCSEL neurons. The results are summarized as follows: (1) Controllable and repeatable spiking modes can be achieved using negative stimulation and adjusting the parameters such as external disturbance intensity, pump ellipticity, and injection detuning. (2) Considering the various possibilities in neuron output, including tonic spiking, phasic spiking, steady state, RO, chaos, etc., it is important to select the reasonable range of parameters. (3) Under certain conditions with positive stimulation, inhibitory spiking dynamics can be achieved. (4) The spiking signal generated by T-Spin-VCSEL can be successfully propagated to R-Spin-VCSEL with identical spike numbers and time intervals when the injection strength of receiver is larger than a certain value. Compared with traditional VCSEL neurons, the advantages of Spin-VCSEL neurons include the superior polarization controlling capability [35,36,37], and more manipulation dimensions (such as pump ellipticity) to obtain the tunable spiking delay and interval over a large range, which is useful in designing the delay-weight PSNN towards complex tasks processing [27, 32]. On the other hand, a disadvantage of Spin-VCSEL is that it’s more sensitive to external optical feedback, i.e., a smaller feedback strength may induce the chaos [47], which should be avoided in practical application. Our proposal can provide a new choice and “building block” for photonic spiking neuron; The related numerical analysis is meaningful on enriching the scientific cognition of polarization dynamics of Spin-VCSEL-based spiking neuron, and can provide valuable guideline for the manipulation of this neuron. Future work will be focused on the training method and applications for PSNN composed of Spin-VCSELs.