qgrad_qutip.isbra

qgrad_qutip.isbra(state)

Checks whether a state is a bra based on its shape.

Parameters

state (jnp.ndarray) – input state

Returns

True if state is a bra and False otherwise

Return type

bool