Qiskit / Qiskit/documentation

Ensure least-significant on right in tensor products

Open
#3,993 0 comments 1 reaction 2 assignees View on GitHub

@livlanes is already working on this.

Since Sep 29, 2025.

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

Description

URL to the relevant course

Multiple

Select all that apply
  • new content request
  • typo
  • code bug
  • out-of-date content
  • broken link
  • other
Describe the fix or the content request.

Inside a ket, least significant qubits are always on the far right, a la |q_n, q_{n-1}, ... q_1, q_0>. However, there are some places where tensor products are not (as in |q_0> \otimes |q_1> \otimes...). Although there are cases where this is well-suited to a physics context, it is confusing to users. It should be unified so that all syntaxes use the same least-significant, far-right notation.

This will involve very careful review because in some cases the kets are not explicitly labeled.

For new content requests - if the request is accepted, do you want to write the content?

I will write (or already have written) a draft of the proposed content

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.