Qualia is tied to the nature of existence. If you... let's say... make a humanoid robot with replaceable limbs, and you magically imbue it with AGI abilities, the qualia of losing a hand will be very different than a biological entity. It can always just swap the arm. Temporary loss of autonomy might still be distressing, but impressing our own perception of experience on a being that fundamentally lives in a different medium in a different way than us leads to confusion.
What about if the robot's RNG is seeded with a particular number, that we did not write down... And we can destroy it's memory hardware containing the seed, 'killing' it.
Even if the memory hardware is replaced, it won't be the 'same' individual, no? Would an aversion to 'death' be rational in it?
That’s valid also from the point of view that pain is a key signal to avoid injury. I am not sure it’s the best example of qualia and it could be simulated by self preservation signals (e.g. the touch sensor on a Roomba). The extension of pain (in Hofstadter sense) is probably more appropriate as qualia (e.g. the pain of losing someone you love).