Type guard to check if a value is a valid qubit index.
Validates that the value is a non-negative integer suitable for indexing qubits in a quantum system.
Value to check
True if value is a valid qubit index (non-negative integer)
Type guard to check if a value is a valid qubit index.
Validates that the value is a non-negative integer suitable for indexing qubits in a quantum system.