Installation
Tutorials
API Reference
qgrad_qutip.
isket
Checks whether a state is a ket based on its shape.
state (jnp.ndarray) – input state
jnp.ndarray
True if state is a ket and False otherwise
True
False
bool