qiskit.quantum_info.Pauli.to_matrix¶ Pauli.to_matrix(sparse=False)[fuente]¶ Convert to a Numpy array or sparse CSR matrix. Parámetros sparse (bool) – if True return sparse CSR matrices, otherwise return dense Numpy arrays (default: False). Devuelve The Pauli matrix. Tipo del valor devuelto array