Phase shift gate