def labeller(n, symbol='q'):
    return ['%s_%d' % (symbol,n-i-1) for i in range(n)]
Autogenerate labels for wires of quantum circuits.
dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/circuitplot.py/labeller