-
Notifications
You must be signed in to change notification settings - Fork 7
qBraid Algos v0.1 #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 36 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b39487c
initial commit - created first qasm file
LukeAndreesen c18a508
bells inequality .qasm file update
LukeAndreesen c159a96
bells inequality qasm
LukeAndreesen 1d444c8
bern-vaz example ('1001')
LukeAndreesen cf42572
load .qasm w/ pyqasm
LukeAndreesen 6db3d21
fix
LukeAndreesen 323d916
prelim autoqasm bern-vaz - needs sdk integration
LukeAndreesen b6cd0ff
pqasm loading fix
LukeAndreesen 122f8c9
Update CONTRIBUTING.md
LukeAndreesen 2fe4d33
simple bells inequality circuit example, cleaned up
LukeAndreesen 955ad46
testing for bell's inequality qasm3 circuits
LukeAndreesen c2df27e
fix init docs & update measurement from qasm2 to qasm3
LukeAndreesen 8bdcc6e
change load_circuit to load_program, create simple jupyter notebook e…
LukeAndreesen 3f8b6e7
initial BernVaz implementation - needs autoqasm_to_qasm3
LukeAndreesen 5a3f896
autoqasm -> qasm3 integration
LukeAndreesen a2e9d0f
testing
LukeAndreesen a66a01a
preliminary commit - starting to implement bernvaz and QFT - not comp…
LukeAndreesen 179d2d7
fixed QFT function
LukeAndreesen 1931379
Cleaned up QFT/IQFT - still beta version
LukeAndreesen 4487756
refactoring -> use static qasm + dynamic .inc instead of autoqasm
LukeAndreesen 8d18d96
refactor and cleanup of qft/iqft - still needs tests
LukeAndreesen a0d5dcc
refactoring workflow - QFT complete
LukeAndreesen 7eddd74
iqft refactor
LukeAndreesen 3191508
move input logic to seperate function
LukeAndreesen 77a11a7
Basic implementation of BernVaz, QFT, IQFT complete, along with simpl…
LukeAndreesen 6f10432
Merge branch 'main' into qft_iqft_bernvaz
LukeAndreesen cddb418
cleanup, basic tests, basic CLI implementation
LukeAndreesen dcbdc2e
custom path handling + output silencing for circuit generation functi…
LukeAndreesen f24d76c
Basic QPE implementation
LukeAndreesen c92a27b
docs
LukeAndreesen 514fdd7
Added samples of running programs to example notebooks
LukeAndreesen 4d3f92e
cleanup, testing, documentation - getting close to ready for release
LukeAndreesen c55c495
remove Bells Inequality (no clear purpose), add BernVaz testing/updat…
LukeAndreesen 13dd0b7
formatting fixes
LukeAndreesen 942ebaa
import sorting
LukeAndreesen ac33d57
Fixes to v0.1 dev (#58)
ryanhill1 ebedddc
CLI tests, codecov
LukeAndreesen e2794ef
cli test fixes
LukeAndreesen 516d351
cleanup, fixed CLI testing format
LukeAndreesen 3276aa8
testing reqs
LukeAndreesen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #!/usr/bin/env python3 | ||
| # Copyright 2025 qBraid | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| """ | ||
| Entry point script for qbraid-algorithms CLI. | ||
| """ | ||
|
|
||
| from qbraid_algorithms.cli.main import app | ||
|
|
||
| if __name__ == "__main__": | ||
| app() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| OPENQASM 3.0; | ||
| include "stdgates.inc"; | ||
|
|
||
| gate prep q { | ||
| x q; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.