Table 1 The relations between the measurement outcomes of the auxiliary photon D and the feed-forward operations for implementing the Toffoli gate on three photons A, B and C.

From: Hybrid Toffoli gate on photons and quantum spins

Qubit

Feed-forward

Photon A

Photon B

I p

I p

I p

I p

  1. and .