Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Tensor stride in state simulation

A tensor stride specifies how far an array index changes when one tensor-factor label changes.

Edition released Coverage: Overview · Technical
On this page

Scientific definition and boundary

A tensor stride specifies how far an array index changes when one tensor-factor label changes. With q0 as the leftmost factor in an n-qubit statevector, qubit qk has binary stride 2 to the power n-1-k. Other libraries may use different mappings. The stride is an indexing property, independent of qubit names or physical placement.

Sources

  • IBM Quantum · Documentation · quantum.cloud.ibm.com
    Verification scope

    Recorded source check ·

    Full ordering guide retrieved; statevector/integer/string conventions and explicit object-level result distinctions inspected.

    Conceptual reference semantics only. No code execution or universal backend support claim.