We propose and design a flat and tunable terahertz lens achieved through a two-dimensional photonic crystal composed of an array of rods made of a Dirac semimetal placed in air as the background medium. The structure of interest is a graded index photonic crystal, made possible by the slight variations in the rods’ radii in a direction perpendicular to the direction of the light propagation. Dirac semimetals' ability to respond to variations in their Fermi energy level manifested as a change in the refractive index provides the tunability of our proposed lens. The interaction of electromagnetic waves with the designed structure is investigated for both transverse magnetic and transverse electric polarizations using two-dimensional finite-difference time-domain method.