A heavy water reactor has the potential to produce high-quality plutonium , a key component for a nuclear weapon .