 of the two clicked detectors is in an even-parity polarization mode and an even-parity spatial mode, the state of the photon pair $AB$ is projected to the maximally hyperentangled Bell state $|\phi\rangle_{AB}=\frac{1}{2}(|HH\rangle+|VV\rangle)_{AB}
(|a_1b_1\rangle+|a_2b_2\rangle)$. If the outcome of the two clicked detectors is in an odd-parity polarization (spatial) mode, a phase-flip operation $\sigma^P_z$ ($\sigma^S_z$) on photon $B$ is required to obtain the state $|\phi\rangle_{AB}$.

In principle, if Alice and Bob both have only one detector clicked, the maximally hyperentangled Bell states can be obtained with the probability of $P=4|\alpha\beta\gamma\delta|^2$. Otherwise, the hyper-ECP fails. In practical, whether this hyper-ECP succeeds or not can also be read out by postselection, if the efficiencies of the single-photon detectors are lower than 100 %. With this method, the maximally hyperentangled GHZ states can be obtained from the partially hyperentangled GHZ states [@HECP2] in the same way.

### Hyper-ECP with nonlinear optical elements {#sec3.1.3}

Here, we introduce the hyper-ECP with nonlinear optical elements. That is, the polarization parity-check measurement and the spatial-mode parity-check measurement are replaced by the polarization parity-check QND (P-QND) and the spatial-mode parity-check QND (S-QND), respectively, where the P-QND and S-QND are constructed with the cross-Kerr nonlinearity.

![Schematic diagram of the polarization parity-check quantum nondemolition detector (P-QND) with the cross-Kerr nonlinearity [@HECPLixhOE].[]{data-label="figure3.3"}](fig15_P-QND.eps){width="7.2cm"}

*P-QND* — The setup of the P-QND is shown in Fig. \[figure3.3\], which is different from the one in Fig. \[HBSA2\]. In Fig. \[HBSA2\], the spatial-mode state is detected at the
of the two clicked detectors is in an even - parity polarization mood and an tied - parity spatial mode, the department of state of the photon couple $ AB$ is projected to the maximally hyperentangled Bell state $ |\phi\rangle_{AB}=\frac{1}{2}(|HH\rangle+|VV\rangle)_{AB } 
 (|a_1b_1\rangle+|a_2b_2\rangle)$. If the outcome of the two click detectors is in an odd - parity bit polarization (spatial) mood, a phase - flip mathematical process $ \sigma^P_z$ ($ \sigma^S_z$) on photon $ B$ is required to obtain the country $ |\phi\rangle_{AB}$. 

 In rationale, if Alice and Bob both have only one detector chatter, the maximally hyperentangled Bell states can be obtained with the probability of $ P=4|\alpha\beta\gamma\delta|^2$. differently, the hyper - ECP fails. In practical, whether this hyper - ECP succeeds or not can besides be read out by postselection, if the efficiencies of the single - photon detectors are lower than 100% . With this method acting, the maximally hyperentangled GHZ states can be receive from the partially hyperentangled GHZ states [ @HECP2 ] in the same way. 

 # # # Hyper - ECP with nonlinear ocular elements { # sec3.1.3 } 

 Here, we introduce the hyper - ECP with nonlinear optical elements. That is, the polarization parity - check mark measurement and the spatial - manner parity - check measurement are replaced by the polarization parity - check QND (P - QND) and the spatial - mode parity bit - check QND (S - QND), respectively, where the P - QND and S - QND are construct with the cross - Kerr nonlinearity. 

! [ conventional diagram of the polarization parity bit - check quantum nondemolition detector (P - QND) with the cross - Kerr nonlinearity [ @HECPLixhOE].[]{data - label="figure3.3"}](fig15_P - QND.eps){width="7.2 cm " } 

 * P - QND * — The setup of the P - QND is indicate in Fig.   \[figure3.3\ ], which is different from the one in Fig.   \[HBSA2\ ]. In Fig.   \[HBSA2\ ], the spatial - mode state is detected at the
 of the two clicked detectovs is in an even-kaeity pmlarizztion moae and an even-parity spatial mide, tye state of the photon pair $AB$ ps projecred uo the maximally igperentangled Nell vvate $|\phi\rangle_{AN}=\frac{1}{2}(|HH\rangne+|VV\rangle)_{AB}
(|a_1b_1\savgpe+|a_2b_2\rangle)$. If the outcome of the twj clickrd detectors is yn am odd-larity polarization (spatial) mode, a phase-fnip operation $\sigma^P_z$ ($\sigma^S_z$) on photon $B$ id required to obtaln the statg $|\phy\eangle_{AB}$.

In pfinciple, if Alice and Gob both have only one detector clicled, the mazinalpi hyperentanjled Bvll states cak be obdained eith the probanilitb of $P=4|\alpha\beta\gamma\delta|^2$. Otherwise, the hypgr-ECP failv. Nn practical, whether rhus hyker-EC[ suzxeeas kr nkt can alao be read out by posrselection, if the egfyboencies of tge sindlq-photon detectors are lower than 100 %. With thjs method, the maximally hyperentangled GHZ sjates can fe obtained from the partially hyperentangled GHZ statxs [@HEEI2] kb hhe same way.

### Hyper-ECP with nonlinear optical qmekekts {#sec3.1.3}

Here, we iktroduce the hyper-RCO eyth nonlinear opticcm slements. That is, tje polatizatiin parity-shecl measurement and the spatiql-mode paritj-chexk measurement are replaced bv the kolariaation parity-check QND ('-QND) ahd the spatlal-mode pzfity-check QND (S-QVD), gespactively, where the P-QND anq S-QND arx conxtructea wijh the sross-Kerr jonlikaarity.

![Schematic diwgram ox the polagization parity-check quantum noivemolition dejecdor (P-QND) wich the cross-Kerr noglinearity [@HECKLixhOE].[]{daca-labeu="figure3.3"}](fig15_I-QND.eps){wivth="7.2cm"}

*P-QND* — Tre setup of tvg P-QND is shoxn in Fig. \[siguee3.3\], wyich is aifferent from the one pn Fig. \[YBSA2\]. In Fig. \[HBSA2\], thc spajizl-mode state is deuexted at the
of the two clicked detectors is in polarization and an spatial mode, the $AB$ projected to the hyperentangled Bell state (|a_1b_1\rangle+|a_2b_2\rangle)$. If the outcome of the clicked detectors is in an odd-parity polarization (spatial) mode, a phase-flip operation $\sigma^P_z$ on photon $B$ is required to obtain the state $|\phi\rangle_{AB}$. In principle, if and both only detector clicked, the maximally hyperentangled Bell states can be obtained with the probability of $P=4|\alpha\beta\gamma\delta|^2$. Otherwise, hyper-ECP fails. In practical, whether this hyper-ECP succeeds not can also be out by postselection, if the of single-photon detectors lower 100 With this method, maximally hyperentangled GHZ states can be obtained from the partially hyperentangled GHZ states [@HECP2] in the same ### Hyper-ECP optical elements Here, introduce hyper-ECP with nonlinear That is, the polarization parity-check measurement parity-check measurement are replaced by the polarization parity-check (P-QND) and spatial-mode parity-check QND (S-QND), respectively, where P-QND and S-QND are constructed with the cross-Kerr ![Schematic diagram of the polarization parity-check quantum nondemolition detector (P-QND) with the cross-Kerr nonlinearity [@HECPLixhOE].[]{data-label="figure3.3"}](fig15_P-QND.eps){width="7.2cm"} The setup of the is shown in \[figure3.3\], is from one in \[HBSA2\]. In Fig. \[HBSA2\], the spatial-mode state is detected at the
 of the two clicked detectors iS in an even-pArity PolAriZaTion Mode And an even-paritY SpatIal mode, the state of the phOton pAiR $aB$ is PRoJecteD to the mAXiMALly HyPeRenTaNGlEd BelL stAte $|\phi\rAngle_{AB}=\fraC{1}{2}(|HH\RaNgle+|VV\rangle)_{ab}
(|a_1B_1\rangle+|a_2b_2\rAngLe)$. If the outcoMe oF the twO cLicKEd detEctOrs is In an odD-Parity PolarizatIoN (SpatiaL) Mode, a phASE-fLip oPeration $\sigma^P_z$ ($\siGMa^s_Z$) on photon $B$ is reQuired To OBtAIN thE stAte $|\phi\rangLe_{aB}$.

In pRInciple, IF ALICE anD bob both have onLy one detectOR clIcked, tHe MaxIMally hYpereNtANglEd Bell stateS can Be obtaineD with tHE probabILity of $P=4|\Alpha\bEta\GamMa\deLTa|^2$. otHerWiSE, thE HyPer-ecP fAils. In prAcTiCal, whEtheR THIS hypEr-EcP suCceedS or not can also Be rEad oUT by PostsElectIon, iF tHe effIciencIes of ThE single-photon deTectOrs are lowEr tHaN 100 %. WiTh This mEThod, thE maXimAlly hypErentanGLed gHz STAtEs can be obtained froM tHE PaRtially hYperenTAnGlED GHZ statEs [@hECp2] in tHE Same wAy.

### HyPEr-eCP with nOnlineAR oPtIcal eleMeNts {#sec3.1.3}

heRe, wE inTroduCE the Hyper-EcP with noNlineAR optical elemenTS. That is, the polARiZATiON parIty-Check measurEmenT And tHe spATiAl-mODe parIty-chEcK MeASurement are replaced By The polArizaTion parity-cheCk QND (P-QND) aND THe spatiaL-modE PaRIty-check QND (S-QNd), respEctively, whERe the P-QNd and S-qND are coNstructed WITh the croSs-KErr NonLinEARiTy.

![Schematic diAGRam oF tHe polarIzaTion parIty-CheCk qUanTuM nondemolItion detEcToR (P-qNd) wiTh the CRoss-Kerr NoNliNeAriTy [@HECplixhOE].[]{Data-lAbel="FiGuRE3.3"}](fiG15_P-QND.epS){WiDTH="7.2cm"}

*P-qNd* — THe seTup Of The P-QnD is SHowN in Fig. \[fIgure3.3\], whicH is DIffeReNt From the One in Fig. \[HBSA2\]. IN FIg. \[HBSA2\], the sPaTiaL-mode sTATe is deteCted at the
 of the two clicked detect ors is inan ev en- par it y po lari zation mode an d  aneven-parity spatial mo de, t he stat e  o f the  photon pa i r  $A B$  i s p ro j ec ted t o t he maxi mally hype ren ta ngled Bell s t at e $|\phi\r ang le_{AB}=\fra c{1 }{2}(| HH \ra n gle+| VV\ rangl e)_{AB } 
(|a_1 b_1\rangl e+ | a_2b_2 \ rangle) $ .  I f th e outcome of thet wo clicked detect ors is  i n  a n odd -pa rity polar iz ation (spatia l )m o d e,a  phase-flip o peration $\ s igm a^P_z$  ( $\s i gma^S_ z$) o np hot on $B$ is r equi red to ob tain t h e state $|\phi\ rangle _{A B}$ .

I n  p ri nci pl e , i f  A lic e  an d Bob bo th  h ave o nlyo n e dete cto r cl icked , the maximal lyhype r ent angle d Bel l st at es ca n be o btain ed  with the proba bili ty of $P= 4|\ al pha \b eta\g a mma\de lta |^2 $. Othe rwise,t hehy p e r -E CP fails. In pract ic a l ,whetherthis h y pe r- E CP succe ed s o r no t can a lsob eread out  by po s ts el ection,  i f theef fic ien cieso f th e sing le-photo n det e ctors are lowe r  than 100 %.W it h th i s me tho d, the maxi mall y  hyp eren t an gle d  GHZstate sc an be obtained from th epartia lly h yperentangled  GHZ state s [ @HECP2]in t h es ame way.

###Hyper -ECP withn onlinear  opti cal elem ents {#se c 3 .1.3}

H ere , w e i ntr o d uc e the hyper-E C P  wit hnonline aroptical  el eme nts . T ha t is, the  polariz at io npa rit y-che c k measur em ent  a ndthe s p atial- modepari ty -c h eck  measur e me n t  are  r ep lace d b ythe p olar i zat ion par ity-check  QN D  (P- QN D)  and th e spatial-mod eparity-che ck  QN D (S-Q N D ), respe ctively, where the P-QN D  and S- QND  arecons tructed w ith  the c ros s -Kerrnonlin earit y. 

! [ S chema t i cdia gr am of thep o lar izati on  par ity-che ck quantum nondemo l iti on detector ( P-Q ND)w i th  th e  c r oss -K e rrn o nlinearity [@HE CPLixhOE]. [] { da ta-label=" f igu re 3.3"}]( fig15_P -QND. e ps){wid th="7.2cm "}

*P-QN D*  — T h e  se tup of the  P-QND i s shown i n  Fig. \[ figur e3. 3\], w hi chis di fferen t  fr om th e onein  Fig.\[HBS A2 \]. In F ig. \[HBSA2\], the spat ial-mo de st ate  is detec ted atthe
 of_the two_clicked detectors is in_an even-parity_polarization_mode and_an_even-parity spatial mode,_the state of_the photon pair $AB$_is projected to_the_maximally hyperentangled Bell state $|\phi\rangle_{AB}=\frac{1}{2}(|HH\rangle+|VV\rangle)_{AB}
(|a_1b_1\rangle+|a_2b_2\rangle)$. If the outcome of the two clicked detectors is_in_an odd-parity_polarization_(spatial)_mode, a phase-flip operation $\sigma^P_z$_($\sigma^S_z$) on photon $B$ is_required to_obtain the state $|\phi\rangle_{AB}$.

In principle, if Alice and_Bob_both have only_one detector clicked, the maximally hyperentangled Bell states can_be obtained with the probability of_$P=4|\alpha\beta\gamma\delta|^2$. Otherwise, the_hyper-ECP_fails._In practical, whether this_hyper-ECP succeeds or not can also_be read out by postselection, if_the efficiencies of the single-photon detectors are_lower than 100 %. With this_method, the maximally hyperentangled GHZ_states can_be obtained from the partially_hyperentangled GHZ states_[@HECP2] in_the same way.

###_Hyper-ECP with nonlinear optical elements {#sec3.1.3}

Here,_we introduce the_hyper-ECP with nonlinear optical elements. That_is,_the polarization parity-check_measurement_and_the spatial-mode_parity-check measurement are_replaced_by the_polarization_parity-check QND (P-QND) and the spatial-mode_parity-check_QND (S-QND), respectively, where the P-QND and_S-QND are constructed with_the_cross-Kerr nonlinearity.

![Schematic diagram of_the polarization parity-check quantum nondemolition_detector (P-QND) with the cross-Kerr nonlinearity_[@HECPLixhOE].[]{data-label="figure3.3"}](fig15_P-QND.eps){width="7.2cm"}

*P-QND* —_The setup_of the P-QND is shown in Fig. \[figure3.3\], which is different from_the one in Fig. \[HBSA2\]. In Fig. \[HBSA2\],_the spatial-mode state is_detected at_the