def METHOD_NAME(backend):
    noise_map = {
        0: list(zip(["X", "Y", "Z"], [0.1, 0.2, 0.1])),
        1: list(zip(["X", "Y", "Z"], [0.2, 0.3, 0.0])),
        2: list(zip(["X", "Y", "Z"], [0.0, 0.0, 0.0])),
    }
    c = Circuit(3, density_matrix=True)
    c.add([gates.H(0), gates.H(1), gates.X(2)])
    c.add(gates.M(2))
    noisy_c = c.with_pauli_noise(noise_map)
    final_state = backend.execute_circuit(noisy_c)
    target_c = Circuit(3, density_matrix=True)
    target_c.add(gates.H(0))
    target_c.add(
        gates.PauliNoiseChannel(0, list(zip(["X", "Y", "Z"], [0.1, 0.2, 0.1])))
    )
    target_c.add(gates.H(1))
    target_c.add(
        gates.PauliNoiseChannel(1, list(zip(["X", "Y", "Z"], [0.2, 0.3, 0.0])))
    )
    target_c.add(gates.X(2))
    target_state = backend.execute_circuit(target_c)
    backend.assert_allclose(final_state, target_state)