Theory of two-photon nonlinearity by a realistic matter system with many degrees of freedom in a cavity | IEEE Conference Publication | IEEE Xplore