Commit 9fbb9607 authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

Added some missing header include clauses


Signed-off-by: Nguyen, Thien Minh's avatarThien Nguyen <nguyentm@ornl.gov>
parent 69e35af9
......@@ -15,7 +15,7 @@
#include "xacc.hpp"
#include "xacc_service.hpp"
#include <cassert>
#include <optional>
using namespace xacc;
namespace {
......
......@@ -16,6 +16,7 @@
#include <stdexcept>
#include <regex>
#include <optional>
namespace xacc {
namespace ibm_pulse {
......
......@@ -20,6 +20,7 @@
#include <stdexcept>
#include <regex>
#include <unordered_map>
#include <optional>
#ifndef NLOHMANN_OPT_HELPER
#define NLOHMANN_OPT_HELPER
namespace nlohmann {
......
......@@ -29,6 +29,7 @@
#include "xacc_service.hpp"
#include <bitset>
#include <optional>
#include "QObjGenerator.hpp"
#include "py-aer/aer_python_adapter.hpp"
......
......@@ -2,7 +2,7 @@
#include "GateMergeOptimizer.hpp"
#include "GateFusion.hpp"
#include "xacc_service.hpp"
#include <optional>
namespace {
bool compareMatIgnoreGlobalPhase(const Eigen::Matrix4cd& in_a, const Eigen::Matrix4cd& in_b)
{
......
......@@ -14,7 +14,7 @@
#include "xacc_plugin.hpp"
#include "IRUtils.hpp"
#include <cassert>
#include <optional>
namespace {
inline bool isMeasureGate(const xacc::InstPtr &in_instr) {
return (in_instr->name() == "Measure");
......
......@@ -17,6 +17,7 @@
#include "Cloneable.hpp"
#include "InstructionVisitor.hpp"
#include "heterogeneous.hpp"
#include <limits>
namespace xacc {
using InstructionParameter = Variant<int, double, std::string>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment