Four terrorists, along with a Lashkar-e-Taiba operative, were killed in an encounter with security forces in Shopian district of Jammu and Kashmir.