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