When a sentence of death has been carried out, the secretary of corrections shall cause written notice thereof to be given to the clerk of the court where the conviction was rendered, and the clerk shall file the notice with the record of conviction and sentence.
K.S.A. 22-4005