Qiskit / Qiskit/documentation

document the endianness of the binary outcomes coming our of executor

Open
#5,560 2 comments 0 reactions 1 assignee View on GitHub

@beckykd is already working on this.

Since Sep 14, 2026.

content 📄
Dominant language
Jupyter Notebook
Stars
106
Forks
223
Avg merge
1d 8h
Merged PRs (30d)
72

Description

Describe the fix or the content request.

Request from @SamFerracin

classical register 0 is 0th column of boolean array.

For a concrete example, in the absence of noise, the circuit

circuit = QuantumCircuit(3)
circuit.x(0)
circuit.measure_all()

is meant to return [True, False, False]. Sampler and Executor intentionally return outcomes in opposite order, and users should be aware of it.

this is mostly a matter of the order="big" default in BitArray.

https://quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.primitives.BitArray#to_bool_array

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.