From 586abe86be85637c66ed112d95bf2492949ff10d Mon Sep 17 00:00:00 2001 From: Jun Doi Date: Fri, 5 Jul 2024 10:51:26 +0900 Subject: [PATCH] format --- src/framework/operations.hpp | 3 +-- src/framework/pybind_json.hpp | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/framework/operations.hpp b/src/framework/operations.hpp index ba6136c6ef..1490986c7c 100644 --- a/src/framework/operations.hpp +++ b/src/framework/operations.hpp @@ -686,8 +686,7 @@ inline std::ostream &operator<<(std::ostream &s, const Op &op) { // Raise an exception if name string is empty inline void check_empty_name(const Op &op) { if (op.name.empty()) - throw std::invalid_argument( - R"(Invalid instruction ("name" is empty).)"); + throw std::invalid_argument(R"(Invalid instruction ("name" is empty).)"); } // Raise an exception if qubits list is empty diff --git a/src/framework/pybind_json.hpp b/src/framework/pybind_json.hpp index d1e2fba66e..0f23e7d0f2 100644 --- a/src/framework/pybind_json.hpp +++ b/src/framework/pybind_json.hpp @@ -222,7 +222,8 @@ void std::to_json(json_t &js, const py::handle &obj) { static py::object PyNoiseModel = py::module::import("qiskit_aer.noise.noise_model").attr("NoiseModel"); static py::object PyCircuitHeader = - py::module::import("qiskit_aer.backends.backend_utils").attr("CircuitHeader"); + py::module::import("qiskit_aer.backends.backend_utils") + .attr("CircuitHeader"); if (py::isinstance(obj)) { js = obj.cast(); } else if (py::isinstance(obj)) {