pygsti.models.modelconstruction.create_identity_vec#
- create_identity_vec(basis)#
Build a the identity vector for a given space and basis.
- Parameters:
basis (Basis object) – The basis of the returned vector. Allowed values are Matrix-unit (std), Gell-Mann (gm), Pauli-product (pp), and Qutrit (qt) (or a custom basis object).
- Returns:
The identity vector in the desired basis.
- Return type:
numpy array