Does the death penalty deter crime?

Does the death penalty deter crime?