Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xacc
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ORNL Quantum Computing Institute
xacc
Commits
57c3efc5
Commit
57c3efc5
authored
8 years ago
by
Mccaskey, Alex
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update teleport_scaffold.cpp
removing errant qreg allocation
parent
c6b2fe3a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/quantum/gate/teleport_scaffold.cpp
+0
-3
0 additions, 3 deletions
examples/quantum/gate/teleport_scaffold.cpp
with
0 additions
and
3 deletions
examples/quantum/gate/teleport_scaffold.cpp
+
0
−
3
View file @
57c3efc5
...
...
@@ -59,9 +59,6 @@ int main (int argc, char** argv) {
// Allocate some qubits, give them a unique identifier...
auto
qreg
=
qpu
->
allocate
(
"qreg"
);
auto
qreg2
=
qpu
->
allocate
(
"qreg"
,
0
,
1
,
2
);
// Construct a new Program
xacc
::
Program
quantumProgram
(
qpu
,
src
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment