qiskit.quantum_info.ScalarOp.to_operator¶ ScalarOp.to_operator()[source]¶ Convert to an Operator object.