pyqpanda.Visualization.bloch_plot
Module Contents
Classes
Functions
|
|
|
|
|
Draw a quantum state bloch view |
|
Draw a quantum state bloch view |
|
|
|
|
|
|
|
Draw a quantum circuit bloch view , only support one qubit |
- pyqpanda.Visualization.bloch_plot.plot_bloch_vector(bloch, title='bloch', axis_obj=None, fig_size=None)[源代码]
Draw a quantum state bloch view
- Args:
state : the quantum state title : the figure title fig_size : the figure size
- Returns:
bloch figure shows quantum state
- pyqpanda.Visualization.bloch_plot.plot_bloch_multivector(state, title='', fig_size=None)[源代码]
Draw a quantum state bloch view
- Args:
state : the quantum state title : the figure title fig_size : the figure size
- Returns:
bloch figure shows quantum state
- pyqpanda.Visualization.bloch_plot.plot_bloch_circuit(circuit, trace=True, saveas=None, fps=20, secs_per_gate=1)[源代码]
Draw a quantum circuit bloch view , only support one qubit
- Args:
circuit : the quantum circuit trace : whether shows the trace fps : flash fps
- Returns:
bloch figure shows quantum circuit