qiskit.quantum_info.ScalarOp.to_matrix¶ ScalarOp.to_matrix()[código fonte]¶ Convert to a Numpy matrix.