def METHOD_NAME(
    backend, accelerators
):  # pragma: no cover
    dist_c = Circuit(4, accelerators)
    dist_c.add(gates.H(i) for i in range(dist_c.nglobal, 4))
    dist_c.add(gates.CNOT(0, 2))
    c = Circuit(4)
    c.add(gates.H(i) for i in range(dist_c.nglobal, 4))
    c.add(gates.CNOT(0, 2))
    initial_state = random_statevector(2**c.nqubits, backend=backend)
    final_state = backend.execute_circuit(dist_c, np.copy(initial_state))
    target_state = backend.execute_circuit(c, np.copy(initial_state))
    backend.assert_allclose(target_state, final_state)