rydiqule.sensor_utils.draw_diagram¶
- rydiqule.sensor_utils.draw_diagram(sensor: Sensor, include_dephasing: bool = True) LD [source]¶
Draw a matplotlib plot that shows the energy level diagram, couplings, and dephasing paths.
To show the plot, call
plt.show()
. If in a jupyter notebook, this is handled automatically.Diagram has horizontal lines for the energy levels (spacing not to scale). Integer labels refer to the internal indexing for each state. If sensor is of type
Cell
, will also add text labels to each state of the quantum numbers.Solid arrows between states are couplings defined with a non-zero Rabi frequency. Dashed arrows between states are couplings defined with a dipole moment.
Wiggly arrows between states denote a dephasing pathway. Opacity represents strength of dephasing relative to the largest specified dephasing, where fully opaque is the largest dephasing.
- Parameters:
- Returns:
Diagram handle
- Return type: