Herein, we theoretically suggest one-dimensional photonic crystal composed of polymer doped with quantum dots and porous silicon. The present simulated design is proposed as a refractive index biosensor structure based on parity-time symmetry. Under the parity-time conditions, the transmittance of the resonant peaks is magnified to be 57,843% for refractive index 1.350, 2725% for 1.390, 2117% for 1.392, 1502% for 1.395, 1011% for 1.399, and 847% for 1.401. By magnification, we can distinguish between different refractive indices. The present design can record an efficiency twice the published designs as clear in the comparison table. Results clear that the sensitivities are 635 nm/RIU and 1,000,000%/RIU. So, it can be used for a broader range of detection purposes.