if you run a certain integrable Hamiltonian for a certain period of time and map logical states to states of that Hamiltonian and back it would automatically perform a CCCNOT gate