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
7b7d10bf
Unverified
Commit
7b7d10bf
authored
Oct 04, 2021
by
Mccaskey, Alex
Committed by
GitHub
Oct 04, 2021
Browse files
Merge pull request #490 from tnguyen-ornl/tnguyen/add-header-include-gcc-11
Added some missing headers for GCC 11 compatibility
parents
cf31eeeb
9fbb9607
Pipeline
#170826
passed with stage
in 12 minutes and 54 seconds
Changes
8
Pipelines
23
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/algorithms/gradient_strategies/QuantumNaturalGradient.cpp
View file @
7b7d10bf
...
...
@@ -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 @
7b7d10bf
...
...
@@ -16,6 +16,7 @@
#include
<stdexcept>
#include
<regex>
#include
<optional>
namespace
xacc
{
namespace
ibm_pulse
{
...
...
quantum/plugins/ibm/accelerator/json/QObject.hpp
View file @
7b7d10bf
...
...
@@ -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 @
7b7d10bf
...
...
@@ -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 @
7b7d10bf
...
...
@@ -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 @
7b7d10bf
...
...
@@ -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"
);
...
...
cppmicroservices
@
3dfb92fa
Compare
4b9b4c57
...
3dfb92fa
Subproject commit
4b9b4c57c969b07eeabe92eef4f25b355e8083ce
Subproject commit
3dfb92faa2bd8e281d2ca85acccdf7eb93b9a442
xacc/ir/Instruction.hpp
View file @
7b7d10bf
...
...
@@ -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