Merging metamaterials with quantum photonics