Photonic materials in circuit quantum electrodynamics