liveBook · Manning

Hume

As explained in Building Quantum Software with Python

Hume is the educational Python quantum-computing simulator developed for this book.

Hume is a Python quantum-computing simulator built for learning, flexibility, and efficiency. Its circuit syntax closely matches Qiskit, helping developers move from simulation toward quantum backends. section 2.4 section 12.2.2

Hume supports a practical quantum-development workflow:

  • Construct circuits with QuantumRegister and QuantumCircuit, then run them using Hume’s simulator. section 12.2.2
  • Use quantum-circuit operations including controlled transformations, QFT, inverse QFT, and measurement. section 12.2.2
  • Switch between Hume and Qiskit through configuration without rewriting circuit code. section 12.2.2
  • Convert Hume circuits to Qiskit circuits for IBM simulators or real quantum hardware. section 2.4 section 12.2.3

A small Hume circuit

Create a three-qubit register, apply Hadamard gates to two qubits, use a multi-controlled X operation on the third, and inspect the resulting state with qc.run(). section 12.2.2

Figure 2.12 Map of quantum concepts implemented in Hume
figure

Use the concept map to navigate the quantum operations implemented by Hume. section 2.4

How Building Quantum Software with Python covers it

How deep it goes
Explains simulator construction, circuit compatibility, configuration, conversion, and hardware execution, but defers complete implementation details.
Examples
Uses three-qubit circuits, Qiskit conversion, circuit drawing, backend selection, sampling, and quasi-probability histograms.
What it assumes
Assumes Python and quantum-circuit programming, while using simulator construction to develop foundational quantum-computing understanding.
What you can do after
Operate/configure Hume, write compatible Qiskit-style circuits, convert them, and run experiments on IBM quantum systems.
How it connects
Connects quantum circuits, quantum simulators, Qiskit, QFT, inverse QFT, and IBM quantum hardware.

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.