Geometric phase for a two-level system in photonic band gab crystal. (May 2018)