A classical realization of the two-site Bose–Hubbard Hamiltonian, based on light transport in engineered optical waveguide lattices, is theoretically proposed. The optical lattice enables a direct visualization of the Bose–Hubbard dynamics in Fock space.