A popular method to generate entanglement by Rydberg interactions is to use the EA mechanism [1]}. The standard way to use it is a three-pulse sequence for a \(C_Z\)  gate in the form of
\(C_Z &=& \left(\begin{array}{cccc}1& 0 & 0&0\\0 & -1 &0&0\\0 &0 & -1&0\\0& 0 & 0&-1\\\end{array}\right) \) 
