def labeller(n, symbol='q'):
 return [('%s_%d' % (symbol, ((n - i) - 1))) for i in range(n)]

def labeller ( n , symbol = 'q' ) : return [ ( '%s_%d' % ( symbol , ( ( n - i ) - 1 ) ) ) for i in range ( n ) ]
autogenerate labels for wires of quantum circuits .