where each polaritonic state has been expanded in the basis of molecular and photonic states (see Eq. 5). We are interested in examining the changes of the electronic part of the system as a result of hybridization, so we first trace out the photonic degrees of freedom and define the following molecular-projected transition density operator