-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Add support for WASM operations (#61)
BREAKING CHANGE: Added a `number_of_ws` field to `SerialCircuit` Co-authored-by: Agustín Borgna <[email protected]>
- Loading branch information
1 parent
26440e6
commit 6b531f9
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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,35 @@ | ||
{ | ||
"bits": [], | ||
"commands": [ | ||
{ | ||
"args": [["_w", [0]]], | ||
"op": { | ||
"type": "WASM", | ||
"wasm": { | ||
"func_name": "add_two", | ||
"n": 0, | ||
"wasm_file_uid": "6a0a29e235cd5c60353254bc2b459e631d381cdd0bded7ae6cb44afb784bd2de", | ||
"width_i_parameter": [0], | ||
"width_o_parameter": [0], | ||
"ww_n": 1 | ||
} | ||
} | ||
} | ||
], | ||
"implicit_permutation": [ | ||
[ | ||
["q", [0]], | ||
["q", [0]] | ||
], | ||
[ | ||
["q", [1]], | ||
["q", [1]] | ||
] | ||
], | ||
"number_of_ws": 1, | ||
"phase": "0.0", | ||
"qubits": [ | ||
["q", [0]], | ||
["q", [1]] | ||
] | ||
} |
This file contains 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