oreilly-qc / oreilly-qc.github.io

Code samples for Programming Quantum Computers, from O'Reilly Media
130 stars 59 forks source link

Suggestion: reading order diagram #45

Open joshuaguerin opened 1 year ago

joshuaguerin commented 1 year ago

When I approach a book like this I often stray from the presented reading order. E.g., As a lover of logic I was really excited to get to the Chapter 10, which required a bit of flipping back and forth as I read each chapter.

I don't know if this is something the authors would be interested in for a future edition of the book, but for readers like myself a roadmap makes digesting material in our own preferred order much easier.

While I haven't finished a couple of the chapters, and don't know exactly where they would fit as a result, the following is my interpretation so far on the chapter prerequisites.

digraph G {
    rankdir=td;

    ch1 [label="Chapter 1:\nIntroduction"];
    ch2 [label="Chapter 2:\nOne Qubit"];
    ch3 [label="Chapter 3:\nMultiple Qubits"];
    ch4 [label="Chapter 4:\nQuantum Teleportation"];
    ch5 [label="Chapter 5:\nQuantum Arithmetic and Logic"];
    ch6 [label="Chapter 6:\nAmplitude Amplification"];
    ch7 [label="Chapter 7:\nQuantum Fourier Transform"];
    ch10 [label="Chapter 10:\nQuantum Search"];
    ch12 [label="Chapter 12:\nShor's Factoring Algorithm"];

    ch1 -> ch2;
    ch2 -> ch3;
    ch3 -> ch4;
    ch3 -> ch5;
    ch5 -> ch6;
    ch5 -> ch7;
    ch6 -> ch10;
    ch7 -> ch12;
}

chapter order

I think I've stolen the idea from a few textbooks I've read in the past (e.g., I believe Epp's Discrete Mathematics has such a roadmap). I just wanted to present it to the authors as a possible thought.

Really enjoying the book so far. Thanks for making the material so fun and approachable!

sparrigan commented 1 year ago

Hey Joshua, this is a really great idea. Thanks for taking the time to put this together. In a future edition we will definitely consider adding your roadmap. Glad you're enjoying the book!

Nic