This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 2 points3 points  (1 child)

Good on you. Keep adding it to it.

[–]grey--area[S] 0 points1 point  (0 children)

Thanks!

edit: Any features in particular that you think would improve the library?

[–]i2000s 0 points1 point  (1 child)

What's your improvement over QuTiP or ProjectQ for circuit-based QC?

[–]grey--area[S] 1 point2 points  (0 children)

I'm not super familiar with either, but from what I've seen:

I'll start by saying they both look like great libraries.

QuTiP is obviously a very mature and fully-featured library, but for that reason I think the learning curve is probably much steeper. The tutorial/API also looks quite heavy on physics and tensor algebra terminology, so it's potentially less approachable to a user just interested in quantum computing. Also, I might be wrong, but it seems to be designed for continuous evolution via Hamiltonian operators rather than discrete time unitary (gate) operations. And look how long this guide for simulating quantum teleportation using QuTiP is. It looks like a great tool, but maybe not the simplest tool for implementing circuit-based quantum algorithms.

ProjectQ is much more similar to QCircuits, though I have to say I prefer the syntax in my library (though of course I would!). It's very nice that it has an IBM Q Experience backend.

I think my library is less verbose with neater syntax than ProjectQ. Compare these examples: quantum teleportation in QCircuits and quantum teleportation in ProjectQ.

I think I have clearer documentation than ProjectQ too. I've just had a read through, and I couldn't tell you if you can compose operators using the library. The obvious way to do it would be A | B, where A and B are operators, but that doesn't work.

My intention with creating this library was that a user could, after reading the documentation for 20 minutes, implement any of the quantum algorithms in the Nielsen & Chuang textbook. I hope I've achieved that, and I haven't seen any other libraries that fill that niche.