If we believe in the death penalty, then we believe that the state has a right to end someone's life because they unjustly took someone else's.
So if a person was executed and was found posthumously to actually have been innocent, then would we be justified in executing, say, the DA who prosecuted the crime?