def METHOD_NAME(self):
    """Test observables with mixed representations"""
    mixed_ops = ListOp([X.to_matrix_op(), H, H + I, X])
    converted_meas = self.expect.convert(~StateFn(mixed_ops))
    plus_mean = converted_meas @ Plus
    with self.assertWarns(DeprecationWarning):
        sampled_plus = self.sampler.convert(plus_mean)
    np.testing.assert_array_almost_equal(
        sampled_plus.eval(), [1, 0.5**0.5, (1 + 0.5**0.5), 1], decimal=1
    )