Encoding qubits in multiple degrees of freedom (DOFs) of a quantum system allows less-decoherence quantum information processing with much less quantum resources. We present a compact and scalable quantum circuit to determinately implement a hyper-parallel controlledcontrolled-phase-flip (hyper-C 2 PF) gate on a three-photon system in both the polarization and spatial DOFs. In contrast with the one with many qubits encoding in one DOF only, our hyper-C 2 PF gate operating two independent C 2 PF gates on a three-photon system with less decoherence, and reduces the quantum resources required in quantum information processing by a half. Additional photons, necessary for many approaches, are not required in the present scheme. Our calculation shows that this hyper-C 2 PF gate is feasible in experiment. References and links 1. M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information (Cambridge University, Cambridge, 2000). 2. F. Vatan and C. Williams, "Optimal quantum circuits for general two-qubit gates," Phys. Rev. A 69, 032315 (2004). 3. G. Feng, G. Xu, and G. Long, "Experimental realization of nonadiabatic holonomic quantum computation," Phys.Rev. Lett. 110, 190501 (2013). 4. Y. Liu, G. L. Long, and Y. Sun, "Analytic one-bit and CNOT gate constructions of general n-qubit controlled gates," Int. J. Quantum Inf. 6, 447-462 (2008). 5. A. C. Santosand and M. S. Sarandy, "Superadiabatic controlled evolutions and universal quantum computation," Sci. Rep. 5, 15775 (2015). 6. M. Zwerger, H. J. Briegel, and W. Dür, "Hybrid architecture for encoded measurement-based quantum computation," Sci. Rep. 4, 5364 (2014). 7. A. Reiserer, N. Kalb, G. Rempe, and S. Ritter, "A quantum gate between a flying optical photon and a single trapped atom," Nature (London) 508, 237-240 (2014