Sorry the example actually raises an exception, My bad. So you can either comment out that line which will also skip other transformations or you can replace convert_ops to something else already included in the standard_transformations if you don't want to change the current behavior. e.g:
auto_number is already included in the standard transformations and thus, can be causes no behavior changes except converting xor.
transformations.extend((auto_number, custom_implicit_transformation))