def METHOD_NAME(self, rnd, seed):
    """Check random circuits with 2 cx gates locally equivalent to some circuit with 2 cx."""
    qr = QuantumRegister(2, name="q")
    qc = QuantumCircuit(qr)
    qc.u(rnd[0], rnd[1], rnd[2], qr[0])
    qc.u(rnd[3], rnd[4], rnd[5], qr[1])
    qc.cx(qr[1], qr[0])
    qc.u(rnd[6], rnd[7], rnd[8], qr[0])
    qc.u(rnd[9], rnd[10], rnd[11], qr[1])
    qc.cx(qr[0], qr[1])
    qc.u(rnd[12], rnd[13], rnd[14], qr[0])
    qc.u(rnd[15], rnd[16], rnd[17], qr[1])
    sim = UnitarySimulatorPy()
    unitary = execute(qc, sim, seed_simulator=seed).result().get_unitary()
    self.assertEqual(two_qubit_cnot_decompose.num_basis_gates(unitary), 2)