"We asked the terrorists to surrender, but they refused and opened fire. In the ensuing encounter, two Hizbul Mujahideen terrorists were killed inside a house," said Munir Ahmad Khan, Inspector General of Police, Kashmir.
He said two AK-47 rifles and other ammunition were recovered from the site.
The police said the terrorists were behind yesterday's grenade attack on a police station in Sopore in which four cops were injured.
To avoid any incidents, mobile phone services have been blocked and schools and colleges have been closed in Sopore area, a police officer said.
Internet services were suspended across Kashmir after Sabzar Ahmad Bhat, who has succeeded Burhan Wani, was killed in south Kashmir's Tral on Saturday. His death is seen as a major setback to the terrorist network. He was among the 10 terrorists killed by security forces in separate encounters.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.