This is something that the mind can imagine. These gems can then send photons to other electrons in order to direct a chemical reaction. Actual simulation and successful replication may take us centuries although i can imagine doing it all right now at least up to specific problems that need the simulation working before it is solved. .
Recall that simulation of a mere electron demands at least 2500 axis and you can see the computation challenge.
All this plausibly self constructed it self bringing consciousness into the universe and this then began constructing chemical life itself. It happens to be plausible because order is its natural imperative and logic its language thus self replication is almost easy to induce and from that imagined complexity.