Quantum transitions and quantum entanglement from Dirac-like dynamics simulated by trapped ions