General relativity and classical optics are not equivalent, however, one can construct analogies between the two and build optical simulations of gravitational phenomena. For example, in the field of transformation optics metamaterials are used to produce spatial variations of the effective permittivity, which enable scientists to steer light beams along predetermined paths. In fact, some recent work has shown that one can design near-perfect absorbers that capture light beams which travel near an "optical black hole" designed with transformation optics techniques. Quantum optics isn't quite relevant here, since we're not dealing with individual photons or atomic systems. See the references below for more details.

![Numerical Simulation of an Optical Black Hole][1]

https://en.wikipedia.org/wiki/Transformation_optics 
https://doi.org/10.1038/news.2009.1007
https://arxiv.org/abs/0910.2159
https://arxiv.org/abs/0912.4856

  [1]: https://i.sstatic.net/3f53t.gif