Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
9fbb9607
Commit
9fbb9607
authored
Oct 04, 2021
by
Nguyen, Thien Minh
Browse files
Added some missing header include clauses
Signed-off-by:
Thien Nguyen
<
nguyentm@ornl.gov
>
parent
69e35af9
Changes
7
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/algorithms/gradient_strategies/QuantumNaturalGradient.cpp
View file @
9fbb9607
...
...
@@ -15,7 +15,7 @@
#include
"xacc.hpp"
#include
"xacc_service.hpp"
#include
<cassert>
#include
<optional>
using
namespace
xacc
;
namespace
{
...
...
quantum/plugins/ibm/accelerator/json/PulseQObject.hpp
View file @
9fbb9607
...
...
@@ -16,6 +16,7 @@
#include
<stdexcept>
#include
<regex>
#include
<optional>
namespace
xacc
{
namespace
ibm_pulse
{
...
...
quantum/plugins/ibm/accelerator/json/QObject.hpp
View file @
9fbb9607
...
...
@@ -20,6 +20,7 @@
#include
<stdexcept>
#include
<regex>
#include
<unordered_map>
#include
<optional>
#ifndef NLOHMANN_OPT_HELPER
#define NLOHMANN_OPT_HELPER
namespace
nlohmann
{
...
...
quantum/plugins/ibm/aer/accelerator/aer_accelerator.cpp
View file @
9fbb9607
...
...
@@ -29,6 +29,7 @@
#include
"xacc_service.hpp"
#include
<bitset>
#include
<optional>
#include
"QObjGenerator.hpp"
#include
"py-aer/aer_python_adapter.hpp"
...
...
quantum/plugins/optimizers/gate_merge/GateMergeOptimizer.cpp
View file @
9fbb9607
...
...
@@ -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
)
{
...
...
quantum/plugins/qsim/accelerator/QsimAccelerator.cpp
View file @
9fbb9607
...
...
@@ -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"
);
...
...
xacc/ir/Instruction.hpp
View file @
9fbb9607
...
...
@@ -17,6 +17,7 @@
#include
"Cloneable.hpp"
#include
"InstructionVisitor.hpp"
#include
"heterogeneous.hpp"
#include
<limits>
namespace
xacc
{
using
InstructionParameter
=
Variant
<
int
,
double
,
std
::
string
>
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment