liveBook · Manning

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.

How 2 Manning books explain it

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

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.