Write electrons with qp_edit