lime/cavity.py
def vacuum_dm(self):
        """
        get initial density matrix for cavity vacuum state
        """
        vac = np.zeros(self.n_cav)
        vac[0] = 1.
        return ket2dm(vac)

        get initial density matrix for cavity vacuum state
        
get initial density matrix for cavity vacuum state
get initial density matrix for cavity vacuum state
def vacuum_dm(self):
        vac = np.zeros(self.n_cav)
        vac[0] = 1.
        return ket2dm(vac)
def vacuum_dm ( self ) : vac = np . zeros ( self . n_cav ) vac [ 0 ] = 1. return ket2dm ( vac )
get initial density matrix for cavity vacuum state
get initial density matrix for cavity vacuum state
"""
        get initial density matrix for cavity vacuum state
        """
self