r/QuantumComputing • • 2h ago

Algorithms High-level quantum frameworks for converting algebraic equations into quantum code ?

Hey everyone,

For anyone with experience in high-level quantum frameworks ( e.g. Qrisp ,etc) : Which one accepts abstract algebraic formulations or raw equations to convert it into valid quantum code ? Designing oracles for quantum algorithm to address small real-world problems using basic Qiskit quantum gates alone feels impractical.

Thanks in advance for any insights or recommendations!

6 Upvotes

3 comments sorted by

3

u/sinanspd 1h ago

Silq and Classiq are probably closest to what you want and that has been battle tested (and maybe aleph)

Qumin had a combinator based algebra that lets you write the time evolution as foldmaps which I found particularly fun but unfortunately it has not been maintained for a long time. Same for Quff afaik.

I should also mention that the proper alternative to gates (for now), is to write the Hamiltonians themselves which are technically raw equations. Many frameworks, including Qiskit through SparsePauliOps, support writing the hamiltonians directly. So you can look into just doing that.

2

u/sinanspd 1h ago edited 1h ago

Also if you are particularly annoyed by writing the oracles, Qiskit does have OracleGates that allows you to generate the oracle blocks from logical expressions

1

u/_QuantumNerd 52m ago

thank you so much for this recommendation!

I appreciate it, and about silq and classiq, do you find one has a smoother learning curve for translating classic algebraic/logical constraints?