Qiskit Terra logo

Qiskit Terra

A solid foundation for quantum computing


Qiskit Terra provides the foundational roots for our software stack. Within Terra is a set of tools for composing quantum programs at the level of circuits and pulses, optimizing them for the constraints of a particular physical quantum processor, and managing the batched execution of experiments on remote-access backends. Terra is modularly constructed, simplifying the addition of extensions for circuit optimizations and backends. We welcome your contributions!


  • User Inputs (Circuits, and Schedules)

    Quantum Circuit, Pulse Schedule

  • Transpiler

    Optimization Passes, Third Party

  • Providers

    Qiskit Aer, IBM Quantum, Third Party

  • Visualization and Quantum Information Tools

    Histogram, State, Unitary, Entanglement, ...


from qiskit import QuantumCircuit, Aer, execute

qc = QuantumCircuit(2, 2)

qc.cx(0, 1)
qc.measure([0, 1], [0, 1])

backend = Aer.get_backend('qasm_simulator')
job_sim = execute(qc, backend)
sim_result = job_sim.result()