Discrete JT gravity as an Ising model