Hi @JoaquimMG ,
Unfortunately there isn’t really a way to go about this in Bloqade. Bloqade isn’t designed to be a general purpose simulator which means it wasn’t designed with the ability to load custom matrices.
That being said, we do support a certain set of Hamiltonian term expressions you have some freedom in combining (check out (Maximum Weight Independent Set · Bloqade.jl, Hamiltonians · Bloqade.jl, and Hamiltonians · Bloqade.jl for the full set of supported terms) to create an expression type that then gets lowered into the actual sparse matrices for emulation.
In your case the hamiltonian in your example (a Pauli X matrix) could be simulated like so:
h = SumOfX(1)
reg = zero_state(1)
t_evolution = 1.6
prob = SchrodingerProblem(reg, t_evolution, h)
Hope that helps!