Follow-up from "add system 'parameters'"
The following discussion from !275 (merged) should be addressed:
We should consider removing the parameter check in the try/catch block of
kwant.builder._FinalizedBuilderMixin.hamiltoniannow that such a check exists in
hamiltonianis anyway a low-level API, and we could remove some code duplication this way).
However, there are other places in Kwant (operators, though maybe there are others) where we use
hamiltoniandirectly and any exceptions bubble up to user code. We would have to ensure that we pass the correct parameters to
hamiltonian, rather than just everything.