1 Introduction

Fractional calculus (FC) has attracted a huge number of researchers throughout the last decades in the last and present century. The prominence of FC in diverse disciplines of science and engineering has grown considerably [1,2,3]. The foundations of FC are non-integer order differentiation and integration. In the literature, numerous definitions have been suggested for the fractional differential equations. The definitions of Jumarie [4], Riemann–Liouville [5] and Caputo [6] are the most appropriate for physical circumstances and have received a lot of attention.

By using Jumarie-type derivative rules, Das et al. [7, 8] investigated the approximate solutions of the N-dimensional fractional SE for generalized Mie-type potentials [7] and pseudoharmonic potential [8] for a typical DM, and they obtained the mass spectra of quarkonia with the Cornell potential corresponds to the fractional parameter \({\alpha =0.5}\). In addition, they employed the power series approach to investigate the solution of the fractional Klein–Gordon (KG) equation with fractional scalar and vector and potentials [9].

Al-Raeei and El-Daher relied on the definition of Riemann–Liouville fractional derivative with a numerical technique to solve the space-dependent fractional SE for the Coulomb potential [10], Van Der Walls potential [11], Lennard-Jones potential [12] and Morse potential [13].

Recently, Khalil [14] has proposed a new definition of fractional derivative termed conformable fractional derivative (CFD) which upholds essential classical characteristics. Abdeljawad [15] extended the definition and established the fundamental notions of the CFD. Depending on the CFD, Karayer et al. [16] presented conformable fractional (CF) NU method to investigate the solutions of the SE with different potentials.

Chung et al. [17] used the Heun function to investigate the CF SE for the Killingbeck and hyperbolic potentials. Within the context of CF quantum mechanics, the three-dimensional fractional harmonic oscillator was explored and some expectation values were obtained in Ref. [18]. The CF NU approach was used to obtain the one-dimensional KG equation for the generalized Hulthén potential [19]. In Ref. [20], the fractional SE for a particle with position-dependent mass in an infinite potential well was studied using the CFD. In the context of the CFD, the N-dimensional radial SE was used to investigate the properties of heavy quarkonia for the dependent temperature potential [21], Trigonometric Rosen–Morse potential [22], hot-magnetized interaction potential [23], and generalized Cornell potential [24]. The impact of fraction-order and dimensional number on heavy-quarkonium masses was also examined. Hammad et al. [25] used the CF NU method to develop the solutions of the CF Bohr Hamiltonian with the Kratzer potential for triaxial nuclei. Abu-Shady [26] explored the mathematical model for the Coronavirus Disease 2019 using the concept of the CFD. The fractional SE with the screened Kratzer potential [27] and Morse potential [28] was solved using the CF NU technique and the energies of several DMs were estimated for various fractional values.

The investigation of DMs is a prominent branch of chemistry and molecular physics. Several authors have recently examined the solution of relativistic and nonrelativistic wave equations in order to understand the characteristics of some DMs using different molecular potentials. There is a considerable number of empirical potentials in the literature that provide a proper description of the interactions between atoms in the DM as the Kratzer [29], Morse [30], Pöschl–Teller [31], Manning–Rosen [32], Hulthén [33], Schlöberg [34], and Tietz–Hua potentials [35].

The DFP is generally renowned as one of the most empirical potentials for accurately describing the DM energy spectrum and electromagnetic transitions. In 1957, Deng and Fan [36] postulated the DFP to explain the ro-vibrational spectrum of the DM, also called the generalized Morse potential. The DFP is regarded an empirical potential because it has the proper physical boundary conditions at the origin and infinity. The DFP takes the form [37, 38]

$$\begin{aligned} V(r)= & {} D_e\Big (1-\frac{be^{-\alpha r}}{1-e^{-\alpha r}}\Big )^2,\nonumber \\ b= & {} e^{\alpha r_e}-1, \qquad r\in (0,\infty ). \end{aligned}$$
(1)

The SDFP is also defined as [39]

$$\begin{aligned} V(r)=D_e\Big (1-\frac{be^{-\alpha r}}{1-e^{-\alpha r}}\Big )^2-D_e, \end{aligned}$$
(2)

where \({D_e}\), \({r_e}\) and \({\alpha }\) are the dissociation energy, the equilibrium bond length and the screening parameter which indicates the radius of the potential, respectively.

Copious theoretical studies were reported to derive the solutions of the DFP and SDFP in both relativistic and non-relativistic regimes . For example, the approximate solutions of the DFP were investigated using the hypergeometric functions with the SE [37] and with KG equation [38]. Zhang et al. [39] solved the SE with the DFP using the supersymmetric shape invariance formalism and also computed the rotational transition frequencies for HF molecule. By using the exact quantization rule method, Falaye et al. [40] obtained the solutions of the SE with the DFP and calculated the ro-vibrational energy of some DMs. Ikhdair [41] studied the solutions of the Dirac equation for the DFP with spin and pseudospin symmetries by the NU method. Oluwadare et al. [42] solved the KG and Dirac equations using the NU method with the DFP. Mustafa [43] calculated the vibrational energies of Li\({_2}\) DM with the SE for the DFP. The NU technique was used to solve the SE with the DFP [44] and SDFP [45], as well as the energy levels for a set of DMs were also reported.

The solutions of the SE with the SDFP were found and the ro-vibrational energies for various DMs were also computed using the asymptotic iteration method [46], and the generalized pseudospectral method [47]. Oluwadare and Oyewumi [48] used the proper quantization rule to explore the approximate solutions of the SE with the SDFP, as well as the energy levels and the expectation values of DMs were investigated. The Feynman path integral method [49] was employed to explore the approximate solutions of the SDFP. Furthermore, the energy eigenvalues and the eigenfunctions were investigated for some DMs. Omugbe [50] used the WKB method to estimate the energy spectrum of the SE with the DFP for HCl, LiH and ScH molecules. Nath and Roy [51] utilized the NU method to evaluate the ro-vibrational energy and thermodynamic characteristics of the DFP for H\({_2}\), LiH, HCl and CO molecules. The numerical values of energy and thermodynamic quantities of K\({_2}\) molecule with the DFP were reported by Onyenegecha et al. [52] using the formula technique. The KG equation with the DFP was examined by the SWKB and WKB methods [53]. Furthermore, the vibrational energies and scattering phase shift of HCl and LiH molecules were discussed in the higher dimensions using the NU functional analysis [54].

The study of diverse problems of quantum mechanics in the higher dimensional space has recently attracted the attention of theoretical physicists. Since the higher dimension studies aid in a broad approach to the problem, allowing the desired outcomes in the lower dimensions to be obtained directly by selecting appropriate with N. Therefore, a wide number of works [55,56,57,58,59,60,61,62,63,64,65,66] have been reported to derive the energy spectra of SE solutions in N-dimensional space.

Abu-Shady and Kaabar [67] recently proposed a new definition for the fractional derivative known as the generalized fractional derivative (GFD). The GFD definition is regarded as a comprehensive type for the fractional derivative because it provides more features than the other definitions [4,5,6, 14] where the CFD can be simply obtained as a special case from the GFD.

As a novel investigation, we employ the perception of the GFD to derive the bound state solutions of the N-dimensional SE with the DFP via the GF NU method motivated by the recent work [67]. Moreover, we explore the impact of the fractional order and the dimensional number on the ro-vibrational energy spectra of multiple DMs.

This investigation is organized as follows: In Sect. 2, the theoretical tools required for this investigation are displayed. In Sect. 3, we get the bound state solutions of the N-dimensional SE for the DFP via the GF NU method. In Sect. 4, the numerical estimates of the ro-vibrational energy levels of several DMs are reported. Finally, in Sec. 5, we provide the conclusion of our investigation.

2 Mathematical tools

2.1 Overview of the fractional derivative definitions

Here, we introduce some of the basic definitions of the fractional derivative. For \({\delta \in (n-1,n)}\), the Riemann–Liouville definition is defined as [68, 69]

$$\begin{aligned} {\mathcal {D}}^{RL}{f(r)}=\frac{1}{\Gamma (n-\delta )}\frac{\mathrm{d}^n}{\mathrm{d}r^n}\int _{r_0}^r \frac{f(s)}{(x-s)^{\delta -n+1}} \, \mathrm{d}s \end{aligned}$$
(3)

and the Caputo definition is also defined as [68, 69]

$$\begin{aligned} {\mathcal {D}}^C{f(r)}=\frac{1}{\Gamma (n-\delta )}\int _{r_0}^r \frac{f^n(s)}{(r-s)^{\delta -n+1}} \, \mathrm{d}s. \end{aligned}$$
(4)

Due to the fact that the Riemann–Liouville and Caputo fractional derivative formulas do not satisfy some classical features such as the chain rule and the product or quotient of two functions, Khalil et al. suggested a new formula for the fractional derivative defined as the conformable fractional derivative (CFD) to overcome this problem. The CFD has the following form [14]

$$\begin{aligned}&{\mathcal {D}}^{CF}{f(r)}=\lim _{\varphi \rightarrow 0} \frac{f(r+\varphi r^{1-\delta })-f(r)}{\varphi };\nonumber \\&0<\varphi \leqslant 1 ,\qquad {\mathcal {D}}^{CF}{f(0)}=\lim _{r \rightarrow 0^+} f^{CF}(r). \end{aligned}$$
(5)

where \({{\mathcal {D}}^{CF}}\) is the local fractional derivative operator which satisfies the interesting properties that traditional fractional derivatives do not, such as the formula of the derivative of the product or quotient of two functions and the chain rule.

More recently, Abu-Shady and Kaabar [67] proposed a new definition for the fractional derivative known as the GFD that has the form:

$$\begin{aligned}&{\mathcal {D}}^{GF}{f(r)}=\lim _{\varphi \rightarrow 0} \frac{f\Big (r+\frac{\Gamma (\gamma )}{\Gamma (\gamma -\delta +1)}\varphi r^{1-\delta }\Big )-f(r)}{\varphi };\nonumber \\&\gamma >-1,\gamma \in R^+,\qquad {\mathcal {D}}^{GF}{f(0)}=\lim _{r \rightarrow 0^+} f^{GF}(r).\qquad \end{aligned}$$
(6)

The main advantage of the GFD is that it fulfills the property: \({{\mathcal {D}}^\delta {{\mathcal {D}}^\gamma f(r)}={\mathcal {D}}^{\delta +\gamma }f(r)}\), for a differentiable function f(r), which is not satisfied by the CFD.

2.2 Generalized fractional NU method

In this subsection, our aim is to generalize the NU method into the framework of GFD. The NU method is an effective technique for solving second-order differential equations. Furthermore, it has been used successfully to solve both relativistic and nonrelativistic quantum mechanical problems. The NU method [70] is utilized to solve the second-order differential equation which has the following form:

$$\begin{aligned} {\mathcal {H}}''(\rho )+\frac{{\tilde{\tau }}(\rho )}{\sigma (\rho )}{\mathcal {H}}' (\rho )+\frac{{\tilde{\sigma }}(\rho )}{\sigma ^2(\rho )}{\mathcal {H}} (\rho ), \end{aligned}$$
(7)

where \({\sigma (\rho )}\) and \({{\tilde{\sigma }}(\rho )}\) are functions of maximum second degree and \({{\tilde{\tau }}(\rho )}\) is a function of maximum first degree.

The generalized fractional differential equation is defined as follows:

$$\begin{aligned} {\mathcal {D}}^\delta [{\mathcal {D}}^\delta {\mathcal {H}}(\rho )] +\frac{{\tilde{\tau }}(\rho )}{\sigma (\rho )}{\mathcal {D}}^\delta {\mathcal {H}} (\rho )+\frac{{\tilde{\sigma }}(\rho )}{\sigma ^2(\rho )}{\mathcal {H}} (\rho ), \end{aligned}$$
(8)

Using the key property of the GFD,

$$\begin{aligned} {\mathcal {D}}^\delta {\mathcal {H}} (\rho )= & {} Q\rho ^{1-\delta }{\mathcal {H}}'(\rho ), \end{aligned}$$
(9)
$$\begin{aligned} {\mathcal {D}}^\delta [{\mathcal {D}}^\delta {\mathcal {H}}(\rho )]= & {} Q^2\Big [\rho ^{2(1-\delta )} {\mathcal {H}}''(\rho )\nonumber \\&+(1-\delta )\rho ^{1-2\delta }{\mathcal {H}}'(\rho )\Big ], \end{aligned}$$
(10)

where

$$\begin{aligned} Q=\frac{\Gamma (\gamma )}{\Gamma (\gamma -\delta +1)} \end{aligned}$$
(11)

and substituting Eqs. (9) and (10) into Eq. (8) leads to

$$\begin{aligned}&{\mathcal {H}}''(\rho )+\frac{Q(1-\delta )\rho ^{-\delta }\sigma (\rho )+{\tilde{\tau }} (\rho )}{Q\rho ^{1-\delta }\sigma (\rho )}{\mathcal {H}}' (\rho )\nonumber \\&\quad +\frac{{\tilde{\sigma }}(\rho )}{Q^2\rho ^{2-2\delta }\sigma ^2(\rho )}{\mathcal {H}} (\rho ). \end{aligned}$$
(12)

Equation (12) can be reduced to a hypergeometric type equation as follows:

$$\begin{aligned} {\mathcal {H}}''(\rho )+\frac{{\tilde{\tau }}_{GF}(\rho )}{\sigma _{GF}(\rho )}{\mathcal {H}}' (\rho )+\frac{{\tilde{\sigma }}(\rho )}{\sigma _{GF}^2(\rho )}{\mathcal {H}} (\rho ), \end{aligned}$$
(13)

where

$$\begin{aligned} {\tilde{\tau }}_{GF}(\rho )= & {} Q(1-\delta )\rho ^{-\delta }\sigma (\rho )+{\tilde{\tau }}(\rho ),\nonumber \\ \sigma _{GF}(\rho )= & {} Q\rho ^{1-\delta }\sigma (\rho ). \end{aligned}$$
(14)

where the subscript GF stands for the generalized fractional, and \({\sigma (\rho )}\) and \({{\tilde{\sigma }}(\rho )}\) are polynomials of maximum \({2\delta }\)th degree and \({{\tilde{\tau }}(\rho )}\) is a function at most \({\delta }\)th degree.

Setting

$$\begin{aligned} {\mathcal {H}} (\rho )=\chi (\rho ) {\mathcal {V}} (\rho ). \end{aligned}$$
(15)

Substituting Eq. (15) into Eq. (13) gives

$$\begin{aligned} \sigma _{GF}(\rho ) {\mathcal {V}}''(\rho )+\tau _{GF}(\rho ) {\mathcal {V}}'(\rho )+\lambda (\rho ) {\mathcal {V}}(\rho )=0, \end{aligned}$$
(16)

where \({\chi (\rho )}\) satisfies the following relation

$$\begin{aligned} \frac{\chi ' (\rho )}{\chi (\rho )}=\frac{\pi _{GF}(\rho )}{\sigma _{GF}(\rho )} \end{aligned}$$
(17)

and

$$\begin{aligned} \lambda (\rho )=k(\rho )+\pi _{GF}'(\rho ). \end{aligned}$$
(18)

Here, \({{\mathcal {V}}(\rho )}={\mathcal {V}}_n (\rho )\) is a hypergeometric-type function, whose polynomial solutions are given by the Rodrigues formula

$$\begin{aligned} {\mathcal {V}}_n (\rho )=\frac{G_n}{\omega (\rho )}\frac{\mathrm{d}^n}{d\rho ^n}[\sigma _{GF}^n (\rho )\omega (\rho )], \end{aligned}$$
(19)

where \({G_n}\) is the normalization constant, and \({\omega (\rho )}\) is a weight function that defined as follows [51]:

$$\begin{aligned} \omega (\rho )=\Big [\sigma _{GF}(\rho )\Big ]^{-1}\text {exp}\Big (\int \frac{\tau _{GF} (\rho )}{\sigma _{GF} (\rho )} \, d\rho \Big ). \end{aligned}$$
(20)

The function \({\pi _{GF}(\rho )}\) has the following form:

$$\begin{aligned} \pi _{GF}(\rho )= & {} \frac{\sigma _{GF}'(\rho )-{\tilde{\tau }}_{GF}(\rho )}{2}\nonumber \\&\pm \sqrt{\Bigg [\frac{\sigma _{GF}'(\rho )-{\tilde{\tau }}_{GF}(\rho )}{2}\Bigg ]^2-{\tilde{\sigma }}(\rho )+k(\rho )\sigma _{GF}(\rho )}.\nonumber \\ \end{aligned}$$
(21)

The value of \({k(\rho )}\) can be determined if the function under the square root is the square of a polynomial. Thus, the equation of the eigenvalues can be obtained from the following relation:

$$\begin{aligned} \lambda (\rho )=\lambda _n(\rho )=-n\Big [\tau _{GF}'(\rho )+\frac{(n-1)}{2}\sigma _{GF}''(\rho )\Big ], \end{aligned}$$
(22)

where

$$\begin{aligned} \tau _{GF}(\rho )={\tilde{\tau }}_{GF}(\rho )+2\pi _{GF}(\rho ). \end{aligned}$$
(23)

Finally, the eigenfunctions \({{\mathcal {H}} (\rho )}\) can be determined from Eq. (15) using Eq. (17) and Eq. (19).

3 Solution of the generalized fractional SE for the DFP

The N-dimensional radial SE for a DM can be written as [55,56,57,58,59,60,61,62,63,64,65,66]

$$\begin{aligned}&\Biggl \{\frac{\mathrm{d}^2}{\mathrm{d}r^2}+\frac{N-1}{r}\frac{\mathrm{d}}{\mathrm{d}r} -\frac{l(l+N-2)}{r^2}\nonumber \\&\quad +\frac{2\mu }{\hbar ^2}\Big (E-V(r)\Big )\Biggl \}\phi (r)=0, \end{aligned}$$
(24)

where \({\mu , \hbar ,E}\) and N are the reduced mass, the reduced Planck’s constant, the energy spectrum and the dimensional number, respectively. By setting,

$$\begin{aligned} \phi (r)=\frac{1}{r^\frac{N-1}{2}} F(r), \end{aligned}$$
(25)

Equation (24) becomes

$$\begin{aligned} \frac{\mathrm{d}^2F(r)}{\mathrm{d}r^2}+\Bigg [\frac{2\mu }{\hbar ^2}\Big (E-V(r)\Big ) -\frac{(\eta ^2-\frac{1}{4})}{r^2}\Bigg ]F(r)=0,\nonumber \\ \end{aligned}$$
(26)

with

$$\begin{aligned} \eta =l+\frac{N-2}{2}. \end{aligned}$$
(27)

Here we consider a general form of the DFP as follows:

$$\begin{aligned} V(r)= & {} D_e\Big (1-\frac{be^{-\alpha r}}{1-e^{-\alpha r}}\Big )^2+V_0, \qquad b=e^{\alpha r_e}-1,\nonumber \\&r\in (0,\infty ). \end{aligned}$$
(28)

The DFP can be found by setting \({V_0=0}\). In the case if \({V_0=-D_e}\), Eq. (28) turns to the SDFP. Inserting Eq. (28) into Eq. (26) gives

$$\begin{aligned}&\frac{\mathrm{d}^2F(r)}{\mathrm{d}r^2}+\Biggl \{\frac{2\mu }{\hbar ^2}\Bigg [E-D_e\Big (1-\frac{be^{-\alpha r}}{(1-e^{-\alpha r})}\Big )^2-V_0\Bigg ]\nonumber \\&\quad -\frac{(\eta ^2-\frac{1}{4})}{r^2}\Bigg )\Biggl \}F(r)=0, \end{aligned}$$
(29)

now we utilize a proper approximation for the term \({1/r^2}\) as [51]

$$\begin{aligned} \frac{1}{r^2}\approx & {} \alpha ^2\Bigg [c_0+\frac{e^{-\alpha r}}{(1-e^{-\alpha r})}+\frac{e^{-2\alpha r}}{(1-e^{-\alpha r})^2}\Bigg ];\nonumber \\ c_0= & {} \frac{1}{12}. \end{aligned}$$
(30)

Inserting Eq. (30) into Eq. (29) yields

$$\begin{aligned}&\frac{\mathrm{d}^2F(r)}{\mathrm{d}r^2}+\Biggl \{\frac{2\mu }{\hbar ^2}\Bigg [E-D_e\Big (1-\frac{be^{-\alpha r}}{(1-e^{-\alpha r})}\Big )^2-V_0\Bigg ]\nonumber \\&\quad -\alpha ^2\Big (\eta ^2-\frac{1}{4}\Big )\Bigg [c_0+\frac{e^{-\alpha r}}{(1-e^{-\alpha r})}+\frac{e^{-2\alpha r}}{(1-e^{-\alpha r})^2}\Bigg ]\Biggl \}\nonumber \\&F(r)=0. \end{aligned}$$
(31)

By defining the variable \({\rho =e^{-\alpha r}}\), Eq. (31) turns to

$$\begin{aligned}&F''(\rho )+\frac{(1-\rho )}{\rho (1-\rho )}F'(\rho )+\frac{1}{\rho ^2(1-\rho )^2} \Big [-{\mathcal {A}}\rho ^2+{\mathcal {B}}\rho -{\mathcal {C}}\Big ]\nonumber \\&\quad F(\rho )=0, \end{aligned}$$
(32)

where

$$\begin{aligned} {\mathcal {A}}= & {} c_0\Big (\eta ^2-\frac{1}{4}\Big )+\frac{2\mu }{\alpha ^2\hbar ^2}\Big [V_0+D_e(b+1)^2\Big ]-\epsilon , \end{aligned}$$
(33)
$$\begin{aligned} {\mathcal {B}}= & {} (2c_0-1)\Big (\eta ^2-\frac{1}{4}\Big )+\frac{4\mu }{\alpha ^2\hbar ^2}\Big [V_0+D_e(b+1)\Big ]-2\epsilon ,\nonumber \\ \end{aligned}$$
(34)
$$\begin{aligned} {\mathcal {C}}= & {} c_0\Big (\eta ^2-\frac{1}{4}\Big )+\frac{2\mu }{\alpha ^2\hbar ^2}\Big (V_0+D_e\Big )-\epsilon , \end{aligned}$$
(35)

with

$$\begin{aligned} \epsilon =\frac{2\mu E}{\alpha ^2\hbar ^2}. \end{aligned}$$
(36)

The generalized fractional form of the SE for the DFP can be stated by changing integer orders with fractional orders in Eq. (32) as follows:

$$\begin{aligned}&{\mathcal {D}}^\delta {\mathcal {D}}^\delta F(\rho )+\frac{(1-\rho ^\delta )}{\rho ^\delta (1-\rho ^\delta )}{\mathcal {D}}^\delta F(\rho )\nonumber \\&\quad +\frac{1}{\rho ^{2\delta }(1-\rho ^\delta )^2}\Big [-{\mathcal {A}}\rho ^{2\delta } +{\mathcal {B}}\rho ^\delta -{\mathcal {C}}\Big ]\nonumber \\&\quad F(\rho )=0. \end{aligned}$$
(37)

Substituting Eqs. (9) and (10) into Eq. (37) gives

$$\begin{aligned}&F''(\rho )+\frac{\Big [1+Q(1-\delta )\Big ](1-\rho ^\delta )}{Q\rho (1-\rho ^\delta )}F'(\rho )\nonumber \\&\quad +\frac{1}{Q^2\rho ^2(1-\rho ^\delta )^2}\Big [-{\mathcal {A}}\rho ^{2\delta } +{\mathcal {B}}\rho ^\delta -{\mathcal {C}}\Big ]\nonumber \\&\quad F(\rho )=0, \end{aligned}$$
(38)

By comparing Eq. (38) with Eq. (13), the following functions are obtained:

$$\begin{aligned} {\tilde{\tau }}_{GF}(\rho )= & {} \Big (1+Q(1-\delta )\Big )(1-\rho ^\delta ),\nonumber \\ \sigma _{GF}(\rho )= & {} Q\rho (1-\rho ^\delta ),\nonumber \\ {\tilde{\sigma }}_{GF}(\rho )= & {} -{\mathcal {A}}\rho ^{2\delta }+{\mathcal {B}}\rho ^\delta -{\mathcal {C}}. \end{aligned}$$
(39)

The function \({\pi _{GF}(\rho )}\) can be defined after substituting Eq. (39) into Eq. (21) as follows:

$$\begin{aligned} \begin{aligned} \pi _{GF}(\rho )&=\frac{(Q\delta -1)+(1-2Q\delta )\rho ^\delta }{2}\\&\quad \pm \sqrt{\Big [\frac{(1-2Q\delta )^2}{4}+{\mathcal {A}}-Qk\rho ^{1-\delta }\Big ]\rho ^{2\delta } +\Big [\frac{(Q\delta -1)(1-2Q\delta )}{2}-{\mathcal {B}}+Qk\rho ^{1-\delta }\Big ]\rho ^\delta +\Big [\frac{(Q\delta -1)^2}{4} +{\mathcal {C}}\Big ]}.\qquad \end{aligned} \end{aligned}$$
(40)

Equation (40) can be written in the following form:

$$\begin{aligned} \pi _{GF}(\rho )= & {} \frac{(Q\delta -1)+(1-2Q\delta )\rho ^\delta }{2}\pm \nonumber \\&\sqrt{P\rho ^{2\delta }+W\rho ^\delta +R}, \end{aligned}$$
(41)

where

$$\begin{aligned}&P=T_1-Qk\rho ^{1-\delta }, \qquad W=T_2+Qk\rho ^{1-\delta },\nonumber \\&\quad R=T_3, \end{aligned}$$
(42)

with

$$\begin{aligned} T_1= & {} \frac{(1-2Q\delta )^2}{4}+{\mathcal {A}}, \quad T_2=\frac{(Q\delta -1)(1-2Q\delta )}{2}-{\mathcal {B}},\nonumber \\ T_3= & {} \frac{(Q\delta -1)^2}{4}+{\mathcal {C}}. \end{aligned}$$
(43)

The two possible roots of k can be found by employing the condition that the discriminant of the expression under the square root of Eq. (41) must be zero, this leads to the following:

$$\begin{aligned} k_\pm= & {} \Lambda \Big [-(T_2+2T_3)\pm 2\sqrt{T_3(T_1+T_2+T_3)}\Big ]\rho ^{\delta -1};\nonumber \\ \Lambda= & {} \frac{1}{Q}. \end{aligned}$$
(44)

Inserting Eq. (44) into Eq. (41) gives

$$\begin{aligned} \pi _{GF}(\rho )= & {} \frac{(Q\delta -1)+(1-2Q\delta )\rho ^\delta }{2}\nonumber \\&\pm {\left\{ \begin{array}{ll} \big (\sqrt{T_3}-\sqrt{T_1+T_2+T_3}\big )\rho ^\delta -\sqrt{T_3}, \qquad k=k_+ \\ \big (\sqrt{T_3}+\sqrt{T_1+T_2+T_3}\big )\rho ^\delta -\sqrt{T_3}, \qquad k=k_- \\ \end{array}\right. }.\nonumber \\ \end{aligned}$$
(45)

In order to obtain a physically acceptable solution, the negative sign in Eq. (45) is chosen. The function \({\pi _{GF}(\rho )}\) becomes

$$\begin{aligned} \pi ^-_{GF}(\rho )= & {} \frac{(Q\delta -1)+(1-2Q\delta )\rho ^\delta }{2}\nonumber \\&-\Big [\big (\sqrt{T_3}+\sqrt{T_1+T_2+T_3}\big )\rho ^\delta -\sqrt{T_3}\Big ]\qquad \end{aligned}$$
(46)

and

$$\begin{aligned} k_-=-\Lambda \Big [T_2+2T_3+2\sqrt{T_3(T_1+T_2+T_3)}\Big ]\rho ^{\delta -1}.\qquad \end{aligned}$$
(47)

Therefore, the functions \({\lambda (\rho ), \tau _{GF}(\rho )}\) and \({\lambda _n(\rho )}\) can be found as follows:

$$\begin{aligned} \lambda (\rho )= & {} \Bigg [-\Lambda (T_2+2T_3)+\delta \Bigg (\frac{1}{2}\Big (1-2Q\delta \Big )-\sqrt{T_3}\Bigg )\nonumber \\&-\sqrt{T_1+T_2+T_3}\Big (\delta +2\Lambda \sqrt{T_3}\Big )\Bigg ]\rho ^{\delta -1}, \end{aligned}$$
(48)
$$\begin{aligned} \tau _{GF}(\rho )= & {} \Big (2\sqrt{T_3}+Q\Big )-\Big [Q(\delta +1)\nonumber \\&+2\Big (\sqrt{T_3}+\sqrt{T_1+T_2+T_3}\Big )\Big ]\rho ^\delta , \end{aligned}$$
(49)
$$\begin{aligned} \lambda _n(\rho )= & {} n\delta \Big [\frac{Q(n+1)(\delta +1)}{2}\nonumber \\&+2\Big (\sqrt{T_3}+\sqrt{T_1+T_2+T_3}\Big )\Big ]\rho ^{\delta -1}. \end{aligned}$$
(50)

By equating Eqs. (48) and (50), the energy spectrum formula for a DM in the N-dimensional space can be written as follows:

$$\begin{aligned} E^N_{nl}=\frac{\alpha ^2\hbar ^2}{2\mu }\Biggl \{\xi _3-\Bigg (\frac{\delta \Big [\frac{1}{2} \Big (1-2Q\delta -Qn(n+1)(\delta +1)\Big )-(2n+1)\sqrt{\xi _1+\xi _2+\xi _3}\Big ] -\Lambda (\xi _2+2\xi _3)}{\Big (\delta (2n+1)+2\Lambda \sqrt{\xi _1+\xi _2+\xi _3}\Big )}\Bigg )^2\Biggl \}, \end{aligned}$$
(51)

where

$$\begin{aligned} \xi _1= & {} \frac{(1-2Q\delta )^2}{4}+c_0\Big (\eta ^2-\frac{1}{4}\Big )\nonumber \\&+\frac{2\mu }{\alpha ^2\hbar ^2}\Big [V_0+D_e(b+1)^2\Big ], \end{aligned}$$
(52)
$$\begin{aligned} \xi _2= & {} \frac{(Q\delta -1)(1-2Q\delta )}{2}-(2c_0-1)\Big (\eta ^2-\frac{1}{4}\Big )\nonumber \\&-\frac{4\mu }{\alpha ^2\hbar ^2}\Big [D_e(b+1)+V_0\Big ], \end{aligned}$$
(53)
$$\begin{aligned} \xi _3= & {} \frac{(Q\delta -1)^2}{4}+c_0\Big (\eta ^2-\frac{1}{4}\Big )\nonumber \\&+\frac{2\mu }{\alpha ^2\hbar ^2}\Big (D_e+V_0\Big ). \end{aligned}$$
(54)

Now we determine the corresponding eigenfunctions. Using Eq. (17) the function \({\chi (\rho )}\) is

$$\begin{aligned} \chi (\rho )=\rho ^{\Lambda \Big (\frac{(Q\delta -1)}{2}+\sqrt{\xi _3-\epsilon }\Big )} \Big (1-\rho ^\delta \Big )^{\Big ({\frac{1}{2}+\frac{\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}.\nonumber \\ \end{aligned}$$
(55)

The weight function \({\omega (\rho )}\) is found using Eq. (20) as

$$\begin{aligned} \omega (\rho )=\Lambda \rho ^{\Big (2\Lambda \sqrt{\xi _3-\epsilon }\Big )}\Big (1-\rho ^\delta \Big )^{\Big ({\frac{2\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}. \end{aligned}$$
(56)

Using Eq. (19), the expression for the function \({{\mathcal {V}}_n (\rho )}\) takes the form

$$\begin{aligned} {\mathcal {V}}_n (\rho )= & {} G_n\rho ^{\Big (-2\Lambda \sqrt{\xi _3-\epsilon }\Big )} \Big (1-\rho ^\delta \Big )^{\Big ({\frac{-2\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}\nonumber \\&\times \frac{\mathrm{d}^n}{d\rho ^n}\Bigg [Q^n\rho ^{\Big (n+2\Lambda \sqrt{\xi _3-\epsilon }\Big )}\Big (1-\rho ^\delta \Big )^{\Big ({n+\frac{2\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}\Bigg ].\nonumber \\ \end{aligned}$$
(57)

Using Eq. (15), the complete solution of Eq. (32) can be expressed as

$$\begin{aligned} F (\rho )= & {} G_n\rho ^{\Lambda \Big (\frac{(Q\delta -1)}{2} -\sqrt{\xi _3-\epsilon }\Big )}\Big (1-\rho ^\delta \Big )^{\Big ({\frac{1}{2} -\frac{\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}\nonumber \\&\times \frac{\mathrm{d}^n}{d\rho ^n}\Bigg [Q^n\rho ^{\Big (n+2\Lambda \sqrt{\xi _3-\epsilon }\Big )}\Big (1-\rho ^\delta \Big )^{\Big ({n+\frac{2\Lambda }{\delta }\sqrt{\xi _1+\xi _2+\xi _3}}\Big )}\Bigg ].\nonumber \\ \end{aligned}$$
(58)
Table 1 Spectroscopic parameters for various DMs [48]
Fig. 1
figure 1

Shape of DFP and SDFP for some DMs

Table 2 \({E_{nl}}\) (eV) of DFP for CO molecule
Table 3 \({E_{nl}}\) (eV) of DFP for I\({_2}\) molecule
Table 4 \({E_{nl}}\) (eV) of DFP for NO molecule
Table 5 \({E_{nl}}\) (eV) of DFP for N\({_2}\) molecule
Table 6 \({-E_{nl}}\) (eV) of SDFP for CO molecule
Table 7 \({-E_{nl}}\) (eV) of SDFP for I\({_2}\) molecule
Table 8 \({-E_{nl}}\) (eV) of SDFP for NO molecule
Table 9 \({-E_{nl}}\) (eV) of SDFP for N\({_2}\) molecule

4 Results and discussion

In this part, we employ the previously obtained solutions to analyze the energy spectra of numerous DMs for both the DFP and the SDFP under the influence of the fractional parameter (\({\delta }\)) in N-dimensional space. The spectroscopic values for the selected DMs: HCl, CO, O\({_2}\) and NO used in this study are reported in Table 1.The criteria for the choice of these molecules are mainly based on the purposes that they play in many aspects of chemical, physical and related disciplines. In our computations, we use the following replacements [71]: \({\hbar c=1973.29}\) eV\({\overset{o}{A}}\), \({1\,\mathrm{cm}^{-1}=1.239841875\times 10^{-4} }\) eV, and \({1\,\mathrm{amu}=931.494028}\) MeV/ \({c^2}\).

In Fig. 1, the variation of the DFP and its shifted is indicated at \({r=r_e}\) for some DMs. In Tables 2, 3, 4 and 5, the numerical results of the energy spectra for various DMs: CO, I\({_2}\), NO and N\({_2}\) with the DFP are displayed at diverse values of the fractional parameter (\({\delta }\)) and the dimensional number (N). It is found that increasing the fractional parameter (\({\delta }\)) causes a significant increase in the energy eigenvalues. Concurrently, as the dimensional number (N) rises, so do the energy eigenvalues. Furthermore, the impact of fractional parameter (\({\delta }\)) and the dimensional number (N) on the energy eigenvalues for the SDFP is explored in Tables 6, 78 and 9. We also observe here that the energy eigenvalues move to higher values as \({\delta }\) and N rise.

According to the results reported in Tables 2, 3, 4, 5, 6, 7, 8 and 9, the energy of the diatomic molecule is more constrained in the fractional case than in the classical one. Therefore, it can be deduced that the fractional parameter has a major effect on the ro-vibrational energy of the diatomic molecule. The influence of the fractional parameter on the behavior of the energy spectra for both the DFP and SDFP with varied potential parameters is depicted in Figs. 2, 3, 4, 5 and 6 for a more illustration. For various values of the fractional parameter \(\delta =0.1, \delta =0.3,\delta =0.5,\delta =0.7, \delta =0.9\) and \({\delta =1}\), the variations of the energy spectra with the vibrational (n) and rotational (l) quantum numbers are shown in Figs. 2 and 3, respectively. Figure 2 reveals that the energy spectra gradually grow as the vibrational quantum number (n) increases.

In line with this inspection, Fig. 3 illustrates a progressive rise also in the energy spectra as the rotational quantum number (l) rises. In Fig. 4, the behavior of the energy spectra with the screening parameter (\({\alpha }\)) for different values of the fractional parameter is displayed. As seen in Fig. 4, the energy spectra elevate in a consistent manner as the screening parameter is increased. In Fig. 5, the energy spectra are plotted with the equilibrium bond length (\({r_e}\)) at \({\delta =0.1, \delta =0.3,\delta =0.5,\delta =0.7, \delta =0.9}\) and \({\delta =1}\). As shown in Fig. 5, the energy spectra decrease by increasing the equilibrium bond length. The behavior of the energy spectra with the reduced mass (\({\mu }\)) is depicted in Fig. 6. Obviously, increasing the reduced mass leads to a drop in the energy spectra. Due to our investigation being innovative, we are unable to compare the obtained results for different values of the fractional parameter. As a consequence, the classical solutions of the DFP and its shifted are recovered by setting \({\delta =1}\), and our results are compared to those found in the literature. In Tables 10, 11 and 12, the numerical results for the ro-vibrational energy spectra of the DFP for several DMs: LiH, ScH, HCl, CO, O\({_2}\) and H\({_2}\) are reported in comparison with the found in Refs. [40, 44, 50]. Furthermore, the ro-vibrational energy spectra of the SDFP for numerous DMs: LiH, ScH, HCl, CO, H\({_2}\) and I\({_2}\) are displayed in Tables 13, 14 and 15 compared to the findings in Refs. [46, 48, 49].

As can be shown in Tables 10, 11, 12, 13, 14 and 15, the ro-vibrational energy spectra of all selected DMs rise as the vibrational and rotational quantum numbers increase. To the best of our knowledge, no one has previously investigated the solutions of the N-dimensional SE with the DFP in the framework of the GFD. Furthermore, in the case of \({\delta =1}\), one can see that our estimates are perfectly consistent with previous works that used other techniques. Therefore, we hope that the current findings will be helpful in future studies.

Fig. 2
figure 2

Energy levels of I\({_2}\) molecule with n at numerous values of \({\delta }\) for a DFP and b SDFP

Fig. 3
figure 3

Energy levels of I\({_2}\) molecule with l at numerous values of \({\delta }\) for a DFP and b SDFP

Fig. 4
figure 4

Energy levels of I\({_2}\) molecule with \({\alpha }\) at numerous values of \({\delta }\) for a DFP and b SDFP

Fig. 5
figure 5

Energy levels of I\({_2}\) molecule with \({r_e}\) at numerous values of \({\delta }\) for a DFP and b SDFP

Fig. 6
figure 6

Energy levels of I\({_2}\) molecule with \({\mu }\) at numerous values of \({\delta }\) for a DFP and b SDFP

Table 10 \({E_{nl}}\) (eV) of DFP for LiH and ScH molecules
Table 11 \({E_{nl}}\) (eV) of DFP for HCl and CO molecules
Table 12 \({E_{nl}}\) (eV) of DFP for HF, O\(_{2}\) and H\(_{2}\) molecules
Table 13 \({-E_{nl}}\) (eV) of SDFP for CO and HCl molecules
Table 14 \({-E_{nl}}\) (eV) of SDFP for LiH and ScH molecules
Table 15 \({-E_{nl}}\) (eV) of SDFP for H\(_{2}\) and I\(_{2}\) molecules

5 Conclusion

Based on the generalized fractional derivative (GFD), the generalized fractional NU method has been derived and utilized to obtain the bound state solutions of the N-dimensional SE with the DFP. The formulas of energy eigenvalues and corresponding eigenfunctions for the DFP as a function of the fractional parameter have been produced for arbitrary values of the vibrational and rotational quantum numbers in the N-dimensional space. As an application, the ro-vibrational energy levels of varied diatomic molecules (DMs) have been evaluated for both the DFP and its shifted potential at different values of the fractional parameter. The effect of the fractional parameter on the energy levels has also been graphically illustrated. It is observed that decreasing fractional parameter (\({\delta }\)) significantly lowers the energy eigenvalues. As a consequence, we conclude that the diatomic molecule’s energy is more bounded at lower fractional parameter values than in the classical case (\({\delta =1}\)). Furthermore, the energy levels of numerous DMs have been estimated in three-dimensional space as well as higher dimensions. It is notable that as the number of dimensions grows, the energy spectrum grows as well. The variation of the energy levels of the DFP and its shifted potential for the I\({_2}\) DM has been graphically depicted with the reduced mass, screening parameter, equilibrium bond length, rotational and vibrational quantum numbers. To prove the validity of our findings, the energy levels of numerous DMs have been calculated at \({\delta =1}\), and compared the results with previous studies. As it can be observed, our findings are in perfect accord with those of others. We infer that the fractional parameter has a significant impact on the ro-vibrational energy levels of DMs. Consequently, exploring the solutions of the N-dimensional SE within the framework of the GFD, and the study of the impact of the fractional number on various features of diverse systems in molecular and atomic physics should be investigated. Finally, we indicate that this work would be extended in the future to derive the solutions of the N-dimensional SE within the scope of the GFD for further molecular potentials such as the Kratzer potential, Morse potential, Pöschl-Teller potential, Hulthén potential, and so on.