[edit] there’s an obvious attack on this, but I’ll go ahead and note my position on it: the whole premise that we can do any of this without just using actual matter the ordinary way is so far into magical territory that we might as well ask “what if lephuchans simulated it?” or “what if god imagined the simulation?”—well ok, sure, I guess if magic is involved that could work, but what’s the point of even considering it?
“What if a miracle occurred?” isn’t a rebuttal to the position that consciousness as we know it likely can’t be simulated by simulating physics, because you can rebut anything with it. Its admission to a discussion is the same as giving up on figuring out anything.
That's one of the main points of using a thought experiment: by declaring axioms explicitly, by fiat ("true" by definition), it prevents the mind from taking advantage of thought terminating get out of jail free cards like this, it forces people to argue their point.
Imagine you took a brain and replaced one neuron by a transistor (or gate) that performs the exact same function as the neuron.
Now replace more and more neurons until all neurons are now transistors.
Would the resulting being be conscious and experience qualia, like the original did? If not, at what point was there a notable change?
https://en.wikipedia.org/wiki/Ship_of_Theseus