Skip to content
GitLab
Menu
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
8e89313f
Commit
8e89313f
authored
Sep 05, 2017
by
Mccaskey, Alex
Browse files
Updating program to take IR at construction, fixing gateqir bug
parent
addda997
Changes
2
Hide whitespace changes
Inline
Side-by-side
quantum/gate/ir/GateQIR.hpp
View file @
8e89313f
...
...
@@ -80,7 +80,7 @@ public:
* circuit gate (CircuitNode).
*
*/
class
GateQIR
:
public
virtual
xacc
::
IR
,
public
Graph
<
CircuitNode
>
{
class
GateQIR
:
public
xacc
::
IR
,
public
Graph
<
CircuitNode
>
{
public:
...
...
xacc/program/Program.hpp
View file @
8e89313f
...
...
@@ -120,8 +120,8 @@ public:
src
(
sourceFile
),
accelerator
(
std
::
move
(
acc
))
{
}
Program
(
std
::
shared_ptr
<
Accelerator
>
acc
,
const
std
::
shared_ptr
<
xacc
::
IR
>
ir
)
:
xaccIR
(
std
::
move
(
ir
)
)
,
accelerator
(
std
::
move
(
acc
))
{
Program
(
std
::
shared_ptr
<
Accelerator
>
acc
,
std
::
shared_ptr
<
xacc
::
IR
>
ir
)
:
xaccIR
(
ir
),
accelerator
(
std
::
move
(
acc
))
{
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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