jaaborot
Quantum Computing: Assigned rotations for 0 qubelets and 1 qubelets are inconsistent across several pages (pages 400, 402, 406, 407, 413)
Title: Quantum Computing: The angle of rotation of the 0 qubelets and 1 qubelets are inconsistent across several pages (pages 400, 402, 406, 407, 413)
Example:
- 0 qubelets are assigned with 20 degrees rotation, 1 qubelets are assigned with -30 degress rotation - (page 400)
- 0 qubelets are assigned with 20 degrees rotation, 1 qubelets are assigned with -30 degrees rotation - (page 402)
- 0 qubelets are assigned with 30 degrees rotation, 1 qubelets are assigned with 20 degrees rotation - (page 406)
- 0 qubelets are assigned with 20 degrees rotation, 1 qubelets are assigned with 30 degrees rotation - (page 407)
- 0 qubelets are assigned with 20 degrees rotation, 1 qubelets are assigned with -30 degrees rotation - (page 413)
First Post!
nihal.mehta
Author of Quantum Computing
Hi,
- Not quite. What’s shown is that starting with qubelets that initially have no orientation, we move the entire qubit (the qubelet orientations are still 0 degrees) through a series of rotations (actually just 2), so that it ends up at any point on the unit sphere we choose. The difference between the 2 rotations we moved the qubit is then shown as the orientation of the triangle |1> qubelets. The latitude on the Bloch sphere tells us the relation between the number of the pentagon |0> qubelets and the triangle |1> qubelets (for example, states near the North Pole have more pentagon |0> qubelets than triangle |1> qubelets). And, the longitude indicates the relative difference in orientations between the pentagon |0> and triangle |1> qubelets. The intent is just to illustrate that any point on the Bloch sphere is equivalently represented as pentagon |0> and triangle |1> qubelets oriented in a mathematically precise way.
- Don’t think of starting with qubelets in a specific orientation.
- The Try Your Hand exercises on Page 156 should shed more light on the relationship between a point on the Bloch sphere (a specific quantum state) and the pentagon |0> and triangle |1> qubelets.
- Not sure if it helps, but think of a solved Rubik’s Cube. When you twist and turn its faces, you are moving the entire face containing the tiny cubies at once. After a few such twists, the tiny cubies end up with different orientations. We are doing something similar here but with with just 2 “faces” each representing the pentagon |0> and triangle |1> qubelets respectively. We rotate the entire face as a unit just as in the Rubik’s Cube. And, the state we end up in is a specific combination of the number of pentagon |0> and triangle |1> qubelets their respective orientations.
Thanks again for your comments. This is a difficult topic and hard to wrap your head around. I find the Bloch sphere highly confusing when designing quantum algorithms.
But, since the qubelets in a qubit are equivalent to quantum states on the Bloch sphere, we can instead use the qubelets model to build quantum circuits that take a qubit from one quantum state. I find this more intuitive than grappling with the Bloch sphere.
Thanks,
Nihal
Popular Pragmatic Bookshelf topics
page 37
ANTLRInputStream input = new ANTLRInputStream(is);
as of ANTLR 4 .8 should be:
CharStream stream = CharStreams.fromStream(i...
New
Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84:
bundle exec sequel...
New
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159
When I execute the command:
user=> (create-...
New
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
I ran this command after installing the sample application:
$ cards add do something --owner Brian
And got a file not found error:
Fil...
New
Running mix deps.get in the sensor_hub directory fails with the following error:
** (Mix) No SSH public keys found in ~/.ssh. An ssh aut...
New
I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint.
How to replicate:
load chapter-7 from zipfile i...
New
@mfazio23
I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New
Other popular topics
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you’ll go beyond the syntax—and...
New
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
New
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me.
I think the Planck and the Preonic (o...
New
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New
Author Spotlight
Jamis Buck
@jamis
This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
Author Spotlight:
VM Brasseur
@vmbrasseur
We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
Node.js v22.14.0 has been released.
Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /django
- /deno
- /kubuntu
- /arch-linux
- /nodejs
- /revery
- /ubuntu
- /spring
- /manjaro
- /lua
- /diversity
- /julia
- /markdown
- /slackware








