Golden ratio
The golden ratio is the positive irrational number (1 + √5) / 2, whose defining proportion equates the whole-to-larger-part and larger-to-smaller-part ratios.
Building Quantum Software with Python
The irrational number equal to (1 + √5) / 2, approached by ratios of consecutive Fibonacci numbers.
- How it is used
- Connects Fibonacci counting to quantum outcome selection by suppressing invalid binary outcomes.
- How deep it goes
- Defines the ratio, derives a Fibonacci recurrence from binary-string cases, and implements both sequence and circuit versions.
- Examples
- Uses valid strings for one to three qubits, recursive Fibonacci output, and a circuit tested on one and two qubits.
- What you can do after
- Evaluate/understand golden-ratio convergence and inspect a quantum circuit that produces the associated valid-outcome distribution.
Read how Building Quantum Software with Python explains golden ratio →
WordPress Power Toolkit: Harness AI to build next-level websites
The golden ratio is the irrational proportion approximately equal to 1.618 that divides a whole into parts whose ratio matches the ratio of the larger part to the smaller part.
- How it is used
- Uses the golden ratio as a design rule for positioning subjects and balancing images or web pages.
- How deep it goes
- Explains the proportion through a formula and building calculation without providing a mathematical derivation.
- Examples
- Shows sunflowers, DNA, seashells, a building calculation, and Photoshop's cropping grid as examples or applications.
- What you can do after
- Apply it via Photoshop's cropping grid or the 1.618 formula when composing images and visual layouts.
Read how WordPress Power Toolkit: Harness AI to build next-level websites explains golden ratio →
Related concepts
- ratiokind of · A ratio is a quantitative comparison of two quantities expressed through their relative sizes or quotient.
- modular scaleproduces · A modular scale is a sequence of related sizes generated by applying a consistent ratio to establish typographic hierarchy.
- Fibonacci sequenceproduced by · The Fibonacci sequence is a sequence in which each term after the first two is the sum of its two predecessors, with initial terms conventionally 0 and 1 or 1 and 1.
- type scaleused by · A typographic scale is an ordered set of font sizes related by a consistent proportional or mathematical progression.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

