bqskit.utils.typing
This module implements many helper functions to check types.
Functions
|
Return true if x is a boolean value. |
|
Return true if x is complex. |
|
Return true if H is a hermitian matrix. |
|
Return true if x is an integer. |
|
Return true if x is an iterable object. |
|
Return true if x is a mapping. |
|
Return true if M is a matrix. |
|
Return true if x is numeric. |
Return true if x is a real number. |
|
|
Return true if x is a sequence. |
Return true if x is a sequence of integers. |
|
|
Return true if x is a sized object. |
|
Return true if H is a skew hermitian matrix. |
Return true if M is a square matrix. |
|
|
Determine if the sequence of radixes is valid. |
|
Return true if V is a vector. |