File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 66 push :
77 branches :
88 - dev
9+ - install_nightly_version # to delete (temp for testing)
10+
911 pull_request_target :
1012 branches :
1113 - dev
14+ - install_nightly_version # to delete (temp for testing)
1215
1316 workflow_dispatch :
1417
Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " code" ,
5+ "execution_count" : 2 ,
6+ "id" : " 3d0f10c2-79f2-401d-b5c1-49d23723af11" ,
7+ "metadata" : {},
8+ "outputs" : [],
9+ "source" : [
10+ " from classiq import *\n " ,
11+ " \n " ,
12+ " \n " ,
13+ " @qfunc\n " ,
14+ " def main(x: Output[QBit]):\n " ,
15+ " allocate(1, x)\n " ,
16+ " X(x)\n " ,
17+ " \n " ,
18+ " \n " ,
19+ " qmod = create_model(main, preferences=Preferences(optimization_level=0))\n " ,
20+ " qprog = synthesize(qmod)"
21+ ]
22+ }
23+ ],
24+ "metadata" : {
25+ "kernelspec" : {
26+ "display_name" : " Python 3 (ipykernel)" ,
27+ "language" : " python" ,
28+ "name" : " python3"
29+ },
30+ "language_info" : {
31+ "codemirror_mode" : {
32+ "name" : " ipython" ,
33+ "version" : 3
34+ },
35+ "file_extension" : " .py" ,
36+ "mimetype" : " text/x-python" ,
37+ "name" : " python" ,
38+ "nbconvert_exporter" : " python" ,
39+ "pygments_lexer" : " ipython3" ,
40+ "version" : " 3.11.4"
41+ }
42+ },
43+ "nbformat" : 4 ,
44+ "nbformat_minor" : 5
45+ }
You can’t perform that action at this time.
0 commit comments