def METHOD_NAME(self, n_status, n_wires):
    """Assert error raised when length of basis state and wires length does not match"""
    with pytest.raises(
        ValueError,
        match="Wires length and flipping state length does not match, they must be equal length ",
    ):
        qml.FlipSign(n_status, wires=n_wires)