Basis Labels and Indices for Two Qubits
A two-qubit computational basis has four outcomes. A simulation representation must say how those labels correspond to array positions.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace one ordering
Under order 00, 01, 10, 11, amplitudes at index one belong to label 01. Another library can display bit order differently. See binary notation.
Choose a test without symmetric labels
Use distinct values in slots 01 and 10 so a bit-order reversal is visible. Tests that distinguish outputs describe how to choose that fixture.[1][2]