Fixing coding style in quantum example (2)