def METHOD_NAME(self, interface):
    """Test entropies on analytic results"""
    dev = qml.device("default.qubit", wires=2, shots=100000)
    @qml.qnode(dev, interface=interface)
    def circuit():
        qml.IsingXX(0.5, wires=[0, 1])
        return qml.classical_shadow(wires=range(2))
    param = 0.5
    bits, recipes = circuit()
    shadow = qml.ClassicalShadow(bits, recipes)
    # explicitly not use pytest parametrize to reuse the same measurements
    for alpha in [1, 2, 3]:
        for base in [2, np.exp(1)]:
            for reduced_wires in [[0], [1]]:
                entropy = shadow.entropy(wires=reduced_wires, base=base, alpha=alpha)
                expected_entropy = expected_entropy_ising_xx(param, alpha) / np.log(base)
                assert qml.math.allclose(entropy, expected_entropy, atol=1e-1)