Hybrid Toffoli gate on photons and quantum spins.

Hybrid Toffoli gate on photons and quantum spins.