Is there a way to practice the algorithms learnt from the book and see it work? I mean to run it on a simulated quantum machine, or on (say) a cloud based trial quantum service, am not sure if there is one?
Happily the answer is "yes and yes yes". The book contains 54 code samples, covering a wide range of QPU tools and algorithms, and every single one can be run in a simulator online with one click (I wrote the sim).
Most of them will also run on IBM's physical quantum computers as well. On the code sample page for each sample has a menu where you can choose what kind of engine it's written for, like this:
Additionally, versions of most of the samples have been ported (thanks to friends at IBM and Microsoft) to Python (for Qiskit and IBM Q Experience), Q# (for Microsoft QDK), and OpenQASM (for running in IBM Q Experience).
If you're reading the book on a tablet or e-reader, just touching the inline link will bring you to the running sample. If you have a physical book, the links are very short and convenient to type, such as oreilly-qc.github.io/?p=2-4
Fun fact #1: When you run the quantum teleportation sample (Example 4-1 in the book) using Qiskit or OpenQASM, it performs actual physical quantum teleportation, not a simulation. You build whatever state you want, and then teleport it about 3.5mm on an IBM chip in New York.
Fun fact #2: We did some extra work so that most of the samples actually run directly on a Kindle using our own in-browser sim.