rydiqule.sensor_utilsΒΆ
Utilities used by the Sensor classes.
Functions
Checks if the provided matrices is a physical density matrix. |
|
|
Converts a standard density matrices in the complex basis with ground state into rydiqule's computational real basis with ground state removed. |
Converts density matrices from rydiqule's computational basis (real, with state 0 removed) to a standard complex basis with all states present. |
|
Converts density matrices from rydiqule's computational basis (real, with state 0 removed) to the full, real basis (ie with state 0 population inserted). |
|
|
Returns a subgraph view of the |
|
Draw a matplotlib plot that shows the energy level diagram, couplings, and dephasing paths. |
|
Returns a list of all possible |
|
Create the optical bloch equations for a hamiltonian and decoherence matrix using the Lindblad master equation. |
|
Function that defines the basis transformation matrix u and its inverse u_i, between the real and complex basis. |
|
For a given density matrix solution, retrieve a specific element of the density matrix. |
|
For a given density matrix solution, return the diagonal populations. |
|
Converts equations of motion from complex basis to real basis. |
|
Return all states in a list matching the pattern described by a given specification. |
|
Returns a version of couplings_graph with only the keys specified. |
Ensures that scannable parameters are coerced to numpy arrays. |
|
|
Remove the ground state from the equations of motion using population conservation. |
|
Scale a dipole matrix from units of a0*e to Mrad/s when multiplied by a field in V/m. |
|
Helper function to create a more terse string representation of a tuple of state tuples. |