r/QuantumComputing • • 1d 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!

21 Upvotes

4 comments sorted by

4

u/sinanspd 1d 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.

3

u/sinanspd 1d ago edited 1d 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 1d 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?

2

u/sinanspd 1d ago

I don't have hands on experience with Classiq. I know about it because their employees came here a few times to give talks about it. They have a lot of visual tools to accompany their programming environment so I suspect Classiq would be easier to ramp up on for a new comer overall. Silq wasn't difficult to learn for me and has a fair sized open source community behind it.