def METHOD_NAME(self, device):
    """Return multiple vars."""
    n_wires = 2
    dev = device(n_wires)
    obs1 = qml.Projector([0], wires=0)
    obs2 = qml.PauliZ(wires=1)
    func = qubit_ansatz
    def circuit(x):
        func(x)
        return qml.var(obs1), qml.var(obs2)
    qnode = qml.QNode(circuit, dev, diff_method=None)
    res = qnode(0.5)
    assert isinstance(res, tuple)
    assert len(res) == 2
    assert isinstance(res[0], np.ndarray)
    assert res[0].shape == ()
    assert isinstance(res[1], np.ndarray)
    assert res[1].shape == ()