HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
quantumlib
Cirq
Python2018–2023
quantumlib / Cirq

Cirq

Python framework for creating, editing, and running Noisy Intermediate-Scale Quantum (NISQ) circuits.

6Distinct people
10Mentions
0Explicit recommenders
5.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Python framework for creating, editing, and running Noisy Intermediate-Scale Quantum (NISQ) circuits.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year10 dated mentions

Observed mentions: 2018-07-19 00:52:04 UTC to 2023-11-13 20:59:35 UTC.

012342018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC321
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC404
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

10 sources
Hi, I personally have a similar background to you, with ~15 years of software engineering. I second some of the comments: I really started understanding quantum computing much better when I sat down and worked through the problems of the Nielsen and Chuang book ("Mike & Ike") - the first 4 chapters should give you a solid start. It starts from theoretical base and does cover some of the applications of QCs as well, though from that perspective there are a bunch of newer results that are not represented in it yet (e.g. QAOA/VQE, NISQ era algorithms, etc.). Some basic linear algebra is definitely needed though, it takes effort and practice to build up familiarity there if you are rusty on it (I was). Also, I would like to plug open source contribution as a vehicle / forcing function for learning. I started contributing to Cirq (https://gith
Read the rest
ub.com/quantumlib/Cirq) starting last year in my free time (as well as some of my work time at Google) and I learned a ton through that. I now work on Cirq full time. OpenFermion, qsim, Tensorflow Quantum are all projects that are excited to have new contributors. The reason I mention my journey because it shows that you don't need formal training in quantum physics to become productive in the quantum computing community (it can definitely help though). However, the field is very deep and is moving very fast, I very much consider myself a noob and rely heavily on the expertise of others for contributions, and I spend a lot of time reading and learning still every day - including other chapters of Mike & Ike, Preskill's notes (http://www.theory.caltech.edu/people/preskill/ph229/), papers and online tutorials from other platforms that can help shed light on a particular topic. Also, don't forget to check out https://algassert.com/quirk - a very useful in-browser quantum circuit simulator written by Craig Gidney, who also was one of the main creators of Cirq. Even more inspiringly, he also, with very hard work, grew from a software engineer into a quantum researcher without formal training. His words: "My learning was heavily based on explaining things to the computer and then having the computer show me the consequences of what I explained." - he also recommends this playlist: https://www.youtube.com/playlist?list=PL1826E60FD05B44E4. Hope this helps!
In Ask HN: Resources to start learning about quantum computing?
Also for a more comprehensive listing of the quantum software, see the awesome-quantum-software [0] on GiuHub. Personally I have used Cirq[1] and Qiskit[2] to implement some classic algorithms like Deutsch-Jozsa[3] and Shor's[4] algorithm and I would say the two frameworks are very similar to use for those implementations. So, it would be interesting to get some insights/opinions from someone who has used multiple frameworks. Is there any clear win/loss of those frameworks? [0]: https://github.com/qosf/awesome-quantum-software#experimenta... [1]: https://github.com/quantumlib/Cirq [2]: https://qiskit.org/ [3]: https://en.wikipedia.org/wiki/Deutsch%E2%80%93Jozsa_algorith... [4]: https://en.wikipedia.org/wiki/Shor%27s_algorithm
In Amazon Braket – Get Started with Quantum Computing
Alongside the development of quantum hardware, which has ever-growing qubit numbers and ever-increasing fidelities and coherence times, there’s also software that’s getting more and more sophisticated. Most quantum computer providers have their own APIs for programming their machines [1,2,3]. Python seems to be the popular choice for these APIs. But one piece of software I’ve been particularly interested in, and indeed contribute to, is Rigetti’s open source optimizing compiler called quilc [4,4’], which is a sort of a GCC/Clang for quantum computers. It’s the only open-source compiler of it’s kind. They also have a high-performance simulator [5], which is used sort of like a debugger. (Perhaps surprisingly, both are written in Common Lisp.) What is very useful about the compiler is that it is retargetable, and can compile for even IBM’s
Read the rest
architectures of tomorrow. You just give it an “isa” at the command line describing how many qubits it has, how they’re connected, and which gates they support, and quilc will happily compile and optimize your program for that architecture. [1] Rigetti’s pyQuil https://github.com/rigetti/pyquil [2] IBM’s Qiskit https://github.com/Qiskit/qiskit [3] Google’s Cirq https://github.com/quantumlib/Cirq [4] quilc https://github.com/rigetti/quilc [4’] quilc at FOSDEM https://youtu.be/qwfMzzKJDXI [5] quantum virtual machine https://github.com/rigetti/qvm
In IBM will soon launch a 53-qubit quantum computer
Yes, there are two reasons that python is an ideal tool for quantum computing libraries at the moment. - In the NISQ era [1], circuits have limited depth and size. It doesn't matter so much which language (or even algorithm!) you use when N<1000. - Simulating a circuit is expensive, but all the heavy lifting can be delegated to highly optimized C code. The most expensive part of Cirq's simulation is (or soon will be) a call to `numpy.einsum` [2]. 1: https://arxiv.org/abs/1801.00862 2: https://github.com/quantumlib/Cirq/blob/24638f234704686c4bb6...
In Getting Started with Quantum Computing in Python

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.