def METHOD_NAME(self):
    """Test if the permutation {0->3,1->0,2->1,3->2} is implemented correctly."""
    v = QuantumRegister(4, "v")  # virtual qubits
    coupling = CouplingMap([[0, 1], [1, 2], [2, 3]])
    from_layout = Layout({v[0]: 0, v[1]: 1, v[2]: 2, v[3]: 3})
    to_layout = Layout({v[0]: 3, v[1]: 0, v[2]: 1, v[3]: 2})
    ltpass = LayoutTransformation(
        coupling_map=coupling, from_layout=from_layout, to_layout=to_layout, seed=42
    )
    qc = QuantumCircuit(4)  # input (empty) physical circuit
    dag = circuit_to_dag(qc)
    output_dag = ltpass.run(dag)
    expected = QuantumCircuit(4)
    expected.swap(1, 0)
    expected.swap(1, 2)
    expected.swap(2, 3)
    self.assertEqual(circuit_to_dag(expected), output_dag)