geqo.visualization.mpl

6.8.6. geqo.visualization.mpl#

Functions

draw_multi_ctrl_gate(seq, gate, ax, qubits, ...)

Plot a multi-controlled quantum gate on a Matplotlib axis.

draw_multi_qubit_gate(seq, gate, ax, qubits, ...)

Plot a multi-qubit quantum gate on a Matplotlib axis.

draw_single_qubit_gate(seq, gate, ax, ...[, ...])

Plot a single-qubit gate onto a Matplotlib axis as part of a quantum circuit diagram.

plot_cnot(ax, qubits, num_qubits, i, **kwargs)

Plot a CNOT gate onto a Matplotlib axis.

plot_ctrl_swap(ctrl_type, ax, qubits, onoff, ...)

Plot a controlled-SWAP gate onto a Matplotlib axis.

plot_dropbits(ax, qubits, num_qubits, i, ...)

Plot a DropQubits operation onto a Matplotlib axis.

plot_hist(ensemble[, style, ...])

Plot histograms of the measurement results.

plot_mpl(seq[, backend, decompose_subseq, ...])

Plot a matplotlib-style quantum circuit diagram from a geqo Sequence.

plot_multix(ctrl_type, ax, qubits, onoff, ...)

Plot a mulit-controlled X gate onto a Matplotlib axis.

plot_reverse(seq, ax, qubits, num_qubits, i, ...)

Plot a QubitReversal gate onto a Matplotlib axis.

plot_setbits(seq, gate, ax, qubits, ...[, ...])

Plot a SetBits operation onto a Matplotlib axis.

plot_setdensitymatrix(seq, name, ax, qubits, ...)

Plot a SetDensityMatrix operation onto a Matplotlib axis.

plot_setqubits(seq, gate, ax, qubits, ...[, ...])

Plot a SetQubits operation onto a Matplotlib axis.

plot_swap(ax, qubits, num_qubits, i, **kwargs)

Plot a SWAP gate onto a Matplotlib axis.

plot_toffoli(ax, qubits, num_qubits, i, **kwargs)

Plot a Toffoli gate onto a Matplotlib axis.