In this section, we compute Kh(G) and ˜Kh(G) for a ribbon graph G. We first compute Kh(G) via the cube of resolutions complex. Although ˜Kh(G) can also be computed from the cube of resolutions complex, we instead compute ˜Kh(G) via the spanning quas…