Skip to content

Commit

Permalink
temp commit - to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadav Ben Ami authored and Nadav Ben Ami committed Dec 22, 2024
1 parent d843a18 commit 7fd3e17
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/Test-CI-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
push:
branches:
- dev
- install_nightly_version # to delete (temp for testing)

pull_request_target:
branches:
- dev
- install_nightly_version # to delete (temp for testing)

workflow_dispatch:

Expand Down
45 changes: 45 additions & 0 deletions community/test.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"id": "3d0f10c2-79f2-401d-b5c1-49d23723af11",
"metadata": {},
"outputs": [],
"source": [
"from classiq import *\n",
"\n",
"\n",
"@qfunc\n",
"def main(x: Output[QBit]):\n",
" allocate(1, x)\n",
" X(x)\n",
"\n",
"\n",
"qmod = create_model(main, preferences=Preferences(optimization_level=0))\n",
"qprog = synthesize(qmod)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit 7fd3e17

Please sign in to comment.