1. A photonic device comprising: an ion conductor formed of a solid solution containing a first conductive substance; a first electrode comprising a second conductive substance, wherein said first and said second conductive substances comprised the same material; and a second electrode.