def METHOD_NAME(natives):
    from .test_transpilers_unitary_decompositions import random_unitary
    unitary = random_unitary(1)
    gate = gates.GeneralizedfSim(0, 1, unitary, phi=0.1)
    assert_matrices_allclose(gate, natives)