Inside Quantum Technology

QMill Exactness vs Haiqu Approximation

QMill Exactness vs Haiqu Approximation

Image generated by Google’s language model AI.

“Haiqu vs QMill for Circuit Compression” left an open question. For the most part, Haiqu compresses your quantum circuits more. So much so, in fact, that you can run surprisingly large circuits on today’s noisy hardware and see correct solutions. But QMill was cooperative, so instead of making it seem like a hit piece, I asked for a response to the results I was getting. QMill’s speculation was that Haiqu approximates, whereas QMill is exact. Haiqu has confirmed the use of a “small amount” of approximation, but let’s see how much we’re talking about here.

Statevector Fidelity

Using the same circuits as Round One, QMill consistently scored 99.999…% fidelity. This means that the much, much smaller quantum circuits it outputs have practically identical quantum states to the originals, but they are much more compatible with today’s noisy hardware.

Haiqu ranged from 97.1% to 99.2% fidelity. By consciously sacrificing a “small amount” of fidelity, the circuits compress down even more, making them even more compatible with today’s noisy hardware. You can even run toy quantum phase estimation (QPE) circuits without error mitigation and see correct solutions.

Tradeoffs

This corpus is a diverse collection of text data from various sources, including websites, articles, and documents, covering topics such as technology (particularly quantum computing and machine learning), data protection and privacy policies, professional development and training, and company information. This collection includes contexts from many websites, financial reports, investor information, and corporate governance, which can be drawn upon to provide information and answer questions.

When would you use QMill and when would you use Haiqu?

Conclusion

Both companies’ software demonstrate that generating quantum circuits gives us an awful lot of bloat. If you’re sick and tired of it, you don’t need to take it anymore. Either way, you can enjoy much smaller circuits that will emulate or execute faster.

One open question is the impact of fault tolerance. At what scale, at what error rates, and for what problems might exactness prove advantageous over approximation on real hardware? I hope to answer that question someday….

Exit mobile version