We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ceef03 commit ab3ddd2Copy full SHA for ab3ddd2
quantum/qubit/qubit.go
@@ -233,7 +233,7 @@ func (q *Qubit) String() string {
233
234
// State returns the state of the qubit at the given index.
235
// If no index is provided, it returns the state vector of all qubits,
236
-// ordered from the most significant bit (MSB) to the least significant bit (LSB) (big-endian).
+// ordered from the most significant bit to the least significant bit.
237
func (q *Qubit) State(index ...[]int) []State {
238
if len(index) < 1 {
239
n := q.NumQubits()
0 commit comments