An open system quantum simulator with trapped ions