The construction of a near-deterministic photonic hyperparallel quantum Fredkin (hyper-Fredkin) gate is investigated for a three-photon system with the optical property of a diamond nitrogen vacancy center embedded in an optical cavity (cavity-NV center system). This hyper-Fredkin gate can be used to perform double Fredkin gate operations on both the polarization and spatial-mode degrees of freedom (DOFs) of a three-photon system with a near-unit success probability, compared with those on the double three-photon systems in one DOF. In this proposal, the hybrid quantum logic gate operations are the key elements of the hyper-Fredkin gate, and only two cavity-NV center systems are required. Moreover, the possibility of constructing a high-fidelity and high-efficiency hyper-Fredkin gate in the experimental environment of a cavity-NV center system is discussed, which may be used to implement high-fidelity photonic computational tasks in two DOFs with a high efficiency.and three-photon quantum entangling gates are essential elements for solving universal quantum computational tasks. [1][2][3][4][5][6][7][8][9][10] In the construction of photonic quantum entangling gates, the strong interaction between photons is an essential task to be overcome. By using linear optics, auxiliary photons, and photon detectors, the strong photonphoton interaction can be obtained, and many schemes have been proposed and demonstrated for photonic twoqubit [11][12][13] and three-qubit [14,15] quantum entangling gates in the past few years. In 2006, Fiurášek [14] proposed a threephoton Fredkin gate with the success probability 4.1 × 10 −3 by using linear optical elements, auxiliary entangled photon pairs, and the single-photon detectors. In 2008, Gong et al. [15] improved the success probability of three-photon Fredkin gate to 1/64 by using linear optical elements and the three-photon time entangled source.The near-deterministic photonic quantum entangling gates have been investigated with nonlinear optical elements, [16][17][18][19][20][21][22][23][24] such as the two-photon controlled-not (CNOT) gate with cross-Kerr nonlinearity [16] and two-photon controlled-phase-flip (CPF) gate with cavity quantum electrodynamics (QED). [17] The interaction between dipole-emitter and photon in cavity QED is very useful for obtaining strong interaction between photons. The electron-spins in quantum dot [25][26][27][28][29] and nitrogen vacancy (NV) center in diamond [30][31][32][33][34][35][36][37] are promising dipole-emitters for cavity QED. With the optical property of quantum dot (or NV center in diamond) embedded in optical cavity, the quantum entangling gates can be constructed for photon systems [19,20,27] and photonelectron-spin hybrid systems. [36,37] Considering the high-capacity property, the photon system can carry more quantum information by encoding the multiple degrees of freedom (DOFs) as qubits. In quantum communication, the entanglement can be prepared in the multiple DOFs of photon system, called hyperentanglement, [38] which can larg...