liveBook · Manning

Quantum operation

As explained in Building Quantum Software with Python

A quantum operation is a transformation that changes the state of one or more qubits.

A quantum operation transforms the state of one or more qubits. In gate-based computation, it changes amplitudes and therefore the probabilities of possible measurement outcomes. section 1.4.3 section 4.3

A quantum operation works by applying a gate to selected qubits:

  • The target qubit determines which amplitude pairs are recombined; paired indices differ in the target qubit's binary position. section 1.4.3 section 4.3
  • The same gate equations update every selected pair in parallel while preserving the total probability within each pair. section 1.4.3
  • Control qubits can condition the transformation, while quantum circuits combine operations to create useful states and probability distributions. section 4.6

Three-qubit operation

A three-qubit state has eight amplitudes. Applying a gate to target qubit 1 pairs amplitudes whose binary indices differ in the middle position, then recombines all such pairs according to the gate formula. Measurement returns one binary-string outcome according to the resulting probabilities.

How Building Quantum Software with Python covers it

How deep it goes
Explains target-controlled pairwise amplitude recombination and stops short of advanced linear-algebra descriptions of general transformations.
Examples
Uses three- and four-qubit pair diagrams, state tables, wheel and rose-chart visualizations, Bell states, distributions, and a Python simulator.
What it assumes
Assumes single-qubit states and gates while developing multi-qubit representations, transformations, circuits, and registers.
What you can do after
Builds and simulates basic quantum transformations in Python, then uses them within circuits to prepare states and distributions.
How it connects
Connects quantum gates with amplitudes, measurement probabilities, quantum circuits, control qubits, registers, and state tables.

Also explained in

Compare how 2 books explain quantum operation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Quantum Software with Python. The section links point to the parts of the book it draws on.