← Atlas

Gates · Controlled gate

Controlled-Hadamard gate

A controlled version of the Hadamard gate that puts the target into superposition only when the control qubit is |1⟩, a canonical example of promoting a single-qubit gate to a controlled operation.

Exact & formalUpdated

View frozen graph

q[0]q[1]Step 1 of 1 · CH · on q[0], q[1]CH

1 step across 2 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • Control 0 → target unchanged100%
  • Control 1 → P(target 0)50%
  • Control 1 → P(target 1)50%
  • Steps1
  • Wires2
  • Qubits2
  • Depth1 native / 2 CNOT decomposition
  • Outcomesconditional superposition
  • Papers2
Native
controlled-hadamard.qasm
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] q;
ch q[0], q[1];

References

  • Elementary gates for quantum computation

    Adriano Barenco, Charles H. Bennett, Richard Cleve, David P. DiVincenzo, Norman Margolus, Peter Shor, Tycho Sleator, John A. Smolin, Harald Weinfurter · 1995

    Shows that single-qubit U(2) gates plus CNOT are universal and gives explicit decompositions for controlled-U, Toffoli, and Fredkin gates.

  • Quantum Computation and Quantum Information: 10th Anniversary Edition

    Michael A. Nielsen and Isaac L. Chuang · 2010

    Standard reference for single- and multi-qubit gate matrices, Euler-angle decomposition, and universal gate sets.

Exact & formal
  • Basis-state truth table
  • Unitary / matrix equivalence
  • Textbook / standard citation
Method
Apply CH to all four computational-basis inputs and confirm the target block for control=0 is identity and the block for control=1 is the Hadamard matrix.
Result
Pass · CH|0,t⟩ = |0,t⟩ and CH|1,t⟩ = |1⟩⊗H|t⟩ for both target values.
OpenQASM 3 standard gate set ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
controlled gatetwo qubitsuperposition

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.