quairkit.operator.gate.visual

The visualization function of quairkit.gate.Gate for display in quairkit.ansatz.Circuit .

quairkit.operator.gate.visual.scale_circuit_plot_param(scale)

The scale function of __CIRCUIT_PLOT_PARAM dictionary

Parameters:
scale : float

the scalar for scaling the elements in the figure

quairkit.operator.gate.visual.set_circuit_plot_param(**kwargs)

The set function of __CIRCUIT_PLOT_PARAM dictionary

Parameters:
kwargs : Any

parameters to update the __CIRCUIT_PLOT_PARAM dictionary

quairkit.operator.gate.visual.get_circuit_plot_param()

The output function of __CIRCUIT_PLOT_PARAM dictionary

Returns:

a copy of __CIRCUIT_PLOT_PARAM

Return type:

dict

quairkit.operator.gate.visual.reset_circuit_plot_param()

The reset function of __CIRCUIT_PLOT_PARAM dictionary