We don't actually know that consciousness is a computation, that computer hardware can support it, or even if it can, that the algorithms used in our AI can be conscious. It's possible that an AI would be a "philosophical zombie," exhibiting intelligent behavior without any conscious experience or qualia.
Or maybe it's computation. But we really have no idea. Any of these would be compatible with materialism, but we haven't made any real progress in even conceptualizing how qualia can emerge from any physical system. Of course that could just be because we haven't figured it out.
Philosophers of mind look at other possibilities too though. One approach is to say each particle has its own fundamental consciousness, and somehow this aggregates in larger complex systems. But nobody's figured out how that might work either. Then there's Kastrup, who argues that the only truly skeptical approach is full-fledged idealism, because qualia are the one thing we directly experience. But even that doesn't imply that anything outside the bounds of physics could possibly occur, so it's not necessarily "supernatural" even if it's not materialism.
Assuming that qualia somehow comes out of a computation, without any sort of explanation, is at least as much a magical leap as anything else.