p-gan gate