liveBook · Manning

Controlled-Ry gate

As explained in Quantum Programming in Depth

A controlled-Ry gate is a controlled rotation gate that applies an Ry rotation to target qubits when its control qubits satisfy the control condition.

A controlled-Ry gate, written CRy(θ), applies Ry(θ) to a target qubit exactly when its control qubit is |1⟩; when the control is |0⟩, the state remains unchanged. section 2.3.1

With the left qubit as control and the right as target:

  • CRy(θ)|10⟩ = cos(θ/2)|10⟩ + sin(θ/2)|11⟩. section 2.3.1
  • CRy(θ)|11⟩ = −sin(θ/2)|10⟩ + cos(θ/2)|11⟩. section 2.3.1
  • CRy(θ)|00⟩ = |00⟩ and CRy(θ)|01⟩ = |01⟩. section 2.3.1

Applying the gate to a superposition

For α|10⟩ + β|01⟩, apply CRy(θ) term by term: α(cos(θ/2)|10⟩ + sin(θ/2)|11⟩) + β|01⟩. section 2.3.1

How Quantum Programming in Depth covers it

How deep it goes
Derives basis-state and superposition transformations directly in Dirac notation.
Examples
Uses two-qubit basis states and the superposition α|10⟩ + β|01⟩.
What it assumes
Assumes controlled-gate behavior, Ry rotations, quantum-state notation, and linearity over superpositions.
What you can do after
Evaluate controlled rotations on basis states and linear combinations.
How it connects
Connects controlled gates, Ry gates, Dirac notation, and quantum superposition.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Quantum Programming in Depth. The section links point to the parts of the book it draws on.