Skip to content

Commit 7fd3e17

Browse files
Nadav Ben AmiNadav Ben Ami
authored andcommitted
temp commit - to delete
1 parent d843a18 commit 7fd3e17

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/Test-CI-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
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

community/test.ipynb

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
}

0 commit comments

Comments
 (0)