qiskit.quantum_info.Pauli.to_matrix¶ Pauli.to_matrix(sparse=False)[ソース]¶ Convert to a Numpy array or sparse CSR matrix. パラメータ sparse (bool) – if True return sparse CSR matrices, otherwise return dense Numpy arrays (default: False). 戻り値 The Pauli matrix. 戻り値の型 array