Matplotlib based plotting of quantum circuits.
Todo:
Autogenerate labels for wires of quantum circuits.
Parameters : | n : int
symbol : string
>>> from sympy.physics.quantum.circuitplot import labeller : >>> labeller(2) : [‘q_1’, ‘q_0’] : >>> labeller(3,’j’) : [‘j_2’, ‘j_1’, ‘j_0’] : |
---|
Mock-up of a z measurement gate.
This is in circuitplot rather than gate.py because it’s not a real gate, it just draws one.