What is the physical unit of the energy calculated using VQE on Qiskit?

Suppose there is any arbitrary ansatz producing variational energy for any arbitrary Hamiltonian. What is the physical unit corresponding to the energy? Since numerical algorithms only output a numeric value, the unit is missing. I know for quantum chemistry, it is usually taken to be Hartree. However, not all problem Hamiltonians are from chemistry.

1. Given your original problem Hamiltonian corresponds to a physical system, it will have coefficients with units of energy. Take the generic kinetic energy term of a Hamiltonian, $$\hbar^2 \nabla^2 / 2m$$ has units of energy ($$J$$). Sometimes energies may be expressed in alternative units (e.g. Hartree, eV, etc.) and it is your choice which unit system you use (see here for an example of a ground state calculation of an electronic structure problem in Hartree, but also of a vibrational problem in $$cm^{-1}$$). Now, if you do a VQE calculation, the coefficients of your Pauli operators in your qubit-mapped Hamiltonian will have the same units as the coefficients of your original problem Hamiltonian. Your results will then be expressed in the same units.