-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path:myqlm:interoperability.html
264 lines (243 loc) · 12.2 KB
/
:myqlm:interoperability.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Interoperability with gate-based framework — myQLM documentation documentation</title>
<link rel="stylesheet" type="text/css" href="static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="static/css/custom.css?v=ccfc9eea" />
<link rel="stylesheet" type="text/css" href="static/sphinx-design.min.css?v=95c83b7e" />
<link rel="shortcut icon" href="static/favicon.png"/>
<script src="static/jquery.js?v=5d32c60e"></script>
<script src="static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="static/documentation_options.js?v=8a448e45"></script>
<script src="static/doctools.js?v=9bcbadda"></script>
<script src="static/sphinx_highlight.js?v=dc90522c"></script>
<script src="static/design-tabs.js?v=f930bc37"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script src="static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Qiskit interoperability" href="%3Amyqlm%3Ainteroperability/01_qiskit.html" />
<link rel="prev" title="Graph Colouring Generator" href="combinatorial_optim_applic/05_np_problem_generators/05_graph_colouring_generator.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
myQLM documentation
<img src="static/myqlm-doc-logo.png" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="01_getting_started.html">Getting started</a></li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="02_user_guide.html">User guide</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="02_user_guide/01_write.html">Writing quantum programs</a></li>
<li class="toctree-l2"><a class="reference internal" href="02_user_guide/02_execute.html">Executing / Simulating quantum programs</a></li>
<li class="toctree-l2"><a class="reference internal" href="02_user_guide/03_compile.html">Compiling and rewriting quantum circuits</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="02_user_guide.html#libraries-built-upon-qaptiva">Libraries built upon Qaptiva</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="fermion.html">Spin and fermionic systems</a></li>
<li class="toctree-l3"><a class="reference internal" href="combinatorial_optim_applic.html">Combinatorial optimization</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">Interoperability with gate-based framework</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#available-binders">Available binders</a><ul>
<li class="toctree-l5"><a class="reference internal" href="%3Amyqlm%3Ainteroperability/01_qiskit.html">Qiskit interoperability</a></li>
<li class="toctree-l5"><a class="reference internal" href="%3Amyqlm%3Ainteroperability/02_pyquil.html">PyQuil interoperability</a></li>
<li class="toctree-l5"><a class="reference internal" href="%3Amyqlm%3Ainteroperability/03_cirq.html">Cirq interoperability</a></li>
<li class="toctree-l5"><a class="reference internal" href="%3Amyqlm%3Ainteroperability/04_projectq.html">ProjectQ interoperability</a></li>
<li class="toctree-l5"><a class="reference internal" href="%3Amyqlm%3Ainteroperability/05_openqasm.html">OpenQASM Compiler</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="interoperability_annealing.html">Interoperability with annealing framework</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="04_api_reference.html">API reference</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="05_demos.html">Demos</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="%3Amyqlm%3A06_support.html">Contributing to myQLM</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="07_release_notes.html">Release notes</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">myQLM documentation</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="02_user_guide.html">User guide</a></li>
<li class="breadcrumb-item active">Interoperability with gate-based framework</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="interoperability-with-gate-based-framework">
<span id="interop"></span><h1>Interoperability with gate-based framework<a class="headerlink" href="#interoperability-with-gate-based-framework" title="Link to this heading"></a></h1>
<p>myQLM provides binders to connect myQLM to other Python-based quantum frameworks. By default,
these binders are not installed with myQLM, please refer to the <a class="reference internal" href="01_getting_started/%3Amyqlm%3A01_install.html#install-interop"><span class="std std-ref">installation page</span></a>
to install the desired binder.</p>
<figure class="align-center">
<a class="reference internal image-reference" href="images/interoperability.png"><img alt="images/interoperability.png" src="images/interoperability.png" style="width: 50%;" />
</a>
</figure>
<p>These binders may be used, depending on the framework,
to:</p>
<blockquote>
<div><ul class="simple">
<li><p>translate myQLM circuits into a format defined in another quantum framework
and vice-versa</p></li>
<li><p>execute a job using a QPU defined in another quantum framework directly
in myQLM and vice-versa</p></li>
</ul>
</div></blockquote>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td rowspan="2"><p><strong>Framework</strong></p></td>
<td colspan="2"><p><strong>Circuit translation</strong></p></td>
<td colspan="2"><p><strong>QPU connection</strong></p></td>
</tr>
<tr class="row-even"><td><p><em>To Qaptiva</em></p></td>
<td><p><em>From Qaptiva</em></p></td>
<td><p><em>To Qaptiva</em></p></td>
<td><p><em>From Qaptiva</em></p></td>
</tr>
<tr class="row-odd"><td><p><strong>Qiskit</strong></p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
</tr>
<tr class="row-even"><td><p><strong>OpenQASM</strong></p></td>
<td><p>Yes</p></td>
<td><p>No</p></td>
<td colspan="2"><p>NA</p></td>
</tr>
<tr class="row-odd"><td><p><strong>PyQuil (no python 3.6)</strong></p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
<td><p>No</p></td>
</tr>
<tr class="row-even"><td><p><strong>ProjectQ</strong></p></td>
<td><p>Yes</p></td>
<td><p>No</p></td>
<td><p>No</p></td>
<td><p>No</p></td>
</tr>
<tr class="row-odd"><td><p><strong>Cirq</strong></p></td>
<td><p>Yes</p></td>
<td><p>Yes</p></td>
<td><p>No</p></td>
<td><p>No</p></td>
</tr>
</tbody>
</table>
<section id="available-binders">
<h2>Available binders<a class="headerlink" href="#available-binders" title="Link to this heading"></a></h2>
<div class="toctree-wrapper compound">
</div>
<div class="toctree-wrapper compound">
</div>
<div class="toctree-wrapper compound">
</div>
<div class="toctree-wrapper compound">
</div>
<div class="toctree-wrapper compound">
</div>
<div class="sd-container-fluid sd-sphinx-override sd-mb-4 docutils">
<div class="sd-row sd-row-cols-1 sd-row-cols-xs-1 sd-row-cols-sm-2 sd-row-cols-md-2 sd-row-cols-lg-3 sd-g-4 sd-g-xs-4 sd-g-sm-4 sd-g-md-4 sd-g-lg-4 docutils">
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Qiskit interoperability</div>
</div>
<a class="sd-stretched-link sd-hide-link-text reference internal" href="%3Amyqlm%3Ainteroperability/01_qiskit.html"><span class="doc">:myqlm:interoperability/01_qiskit.rst</span></a></div>
</div>
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
PyQuil interoperability</div>
</div>
<a class="sd-stretched-link sd-hide-link-text reference internal" href="%3Amyqlm%3Ainteroperability/02_pyquil.html"><span class="doc">:myqlm:interoperability/02_pyquil.rst</span></a></div>
</div>
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Cirq interoperability</div>
</div>
<a class="sd-stretched-link sd-hide-link-text reference internal" href="%3Amyqlm%3Ainteroperability/03_cirq.html"><span class="doc">:myqlm:interoperability/03_cirq.rst</span></a></div>
</div>
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
ProjectQ interoperability</div>
</div>
<a class="sd-stretched-link sd-hide-link-text reference internal" href="%3Amyqlm%3Ainteroperability/04_projectq.html"><span class="doc">:myqlm:interoperability/04_projectq.rst</span></a></div>
</div>
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
OpenQASM Compiler</div>
</div>
<a class="sd-stretched-link sd-hide-link-text reference internal" href="%3Amyqlm%3Ainteroperability/05_openqasm.html"><span class="doc">:myqlm:interoperability/05_openqasm.rst</span></a></div>
</div>
</div>
</div>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="combinatorial_optim_applic/05_np_problem_generators/05_graph_colouring_generator.html" class="btn btn-neutral float-left" title="Graph Colouring Generator" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="%3Amyqlm%3Ainteroperability/01_qiskit.html" class="btn btn-neutral float-right" title="Qiskit interoperability" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright Eviden 2016-2025.</p>
</div>
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>