-
Notifications
You must be signed in to change notification settings - Fork 23
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
merge dev into master #27
Commits on Apr 1, 2023
-
1. Optimized data convertion between python and cpp 2. Fixed set_num …
…bug when initialized from statevector
Configuration menu - View commit details
-
Copy full SHA for 617aed9 - Browse repository at this point
Copy the full SHA 617aed9View commit details
Commits on Apr 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b34b40a - Browse repository at this point
Copy the full SHA b34b40aView commit details -
Merge pull request #11 from Zhaoyilunnn/master
Optimize data copy from python to cpp
Configuration menu - View commit details
-
Copy full SHA for 5abb1a7 - Browse repository at this point
Copy the full SHA 5abb1a7View commit details
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ad5ef8c - Browse repository at this point
Copy the full SHA ad5ef8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c759c - Browse repository at this point
Copy the full SHA 62c759cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23bfc07 - Browse repository at this point
Copy the full SHA 23bfc07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 470891e - Browse repository at this point
Copy the full SHA 470891eView commit details
Commits on Apr 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e023a88 - Browse repository at this point
Copy the full SHA e023a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd26486 - Browse repository at this point
Copy the full SHA fd26486View commit details
Commits on Apr 24, 2023
-
fatboy1994 committed
Apr 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 0d9edcd - Browse repository at this point
Copy the full SHA 0d9edcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0833790 - Browse repository at this point
Copy the full SHA 0833790View commit details -
fatboy1994 committed
Apr 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 4a1c6bb - Browse repository at this point
Copy the full SHA 4a1c6bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fe4697 - Browse repository at this point
Copy the full SHA 8fe4697View commit details -
add dag , modify the test book
Co-authored-by: fatboy1994 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53b00a2 - Browse repository at this point
Copy the full SHA 53b00a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8344afe - Browse repository at this point
Copy the full SHA 8344afeView commit details -
Merge pull request #15 from fatboy1994/dev
dag ; modify the test book for users
Configuration menu - View commit details
-
Copy full SHA for 4ac5486 - Browse repository at this point
Copy the full SHA 4ac5486View commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ce0d2f4 - Browse repository at this point
Copy the full SHA ce0d2f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e6370 - Browse repository at this point
Copy the full SHA 83e6370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 745b731 - Browse repository at this point
Copy the full SHA 745b731View commit details -
Merge pull request #17 from YuChenSSR:dev
Optimize gate_to_node code
Configuration menu - View commit details
-
Copy full SHA for 258c0e3 - Browse repository at this point
Copy the full SHA 258c0e3View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c090c0 - Browse repository at this point
Copy the full SHA 4c090c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a582cf7 - Browse repository at this point
Copy the full SHA a582cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d64d6 - Browse repository at this point
Copy the full SHA 04d64d6View commit details
Commits on May 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c593262 - Browse repository at this point
Copy the full SHA c593262View commit details -
Merge pull request #18 from YuChenSSR:dev
Added parameters for the pulse gate
Configuration menu - View commit details
-
Copy full SHA for 81a35b5 - Browse repository at this point
Copy the full SHA 81a35b5View commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 768d61a - Browse repository at this point
Copy the full SHA 768d61aView commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 36887fe - Browse repository at this point
Copy the full SHA 36887feView commit details -
fix 0: parser error: TypeError: InstructionNode.__init__() missing 2 …
…required positional arguments: 'time_func' and 'label' fix 1: add back from_openqasm
Configuration menu - View commit details
-
Copy full SHA for b4327d4 - Browse repository at this point
Copy the full SHA b4327d4View commit details
Commits on Jun 8, 2023
-
Merge pull request #20 from Zhaoyilunnn/master
1. Add runtime_job_id 2. Add back `from_openqasm` to ensure backward compatibility
Configuration menu - View commit details
-
Copy full SHA for 93edf5b - Browse repository at this point
Copy the full SHA 93edf5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a32de95 - Browse repository at this point
Copy the full SHA a32de95View commit details -
Merge pull request #24 from Zhaoyilunnn/master
fix: default runtime_job_id should be empty string
Configuration menu - View commit details
-
Copy full SHA for 9599f02 - Browse repository at this point
Copy the full SHA 9599f02View commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7c8a43a - Browse repository at this point
Copy the full SHA 7c8a43aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cdf2c5 - Browse repository at this point
Copy the full SHA 4cdf2c5View commit details
Commits on Jul 2, 2023
-
CircuitPlotManager has been implemented to support plotting the most commonly-used gates/instructions, with two simple examples uploaded. Please help to test whether it has no error integrating into dev-branch, for it was written firstly to work well with the odd version of pyquafu. Supports for other instructions, as well as more documentation and examples, will be added a little bit later. (线路绘图功能基本完成,稍加完善即可发布使用。请先测试与dev分支能够整合无误。使用说明文档和其余功能稍后添加。)
Configuration menu - View commit details
-
Copy full SHA for adbce89 - Browse repository at this point
Copy the full SHA adbce89View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b5c0b - Browse repository at this point
Copy the full SHA a5b5c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e14e8e - Browse repository at this point
Copy the full SHA 1e14e8eView commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 878b729 - Browse repository at this point
Copy the full SHA 878b729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c3b06f - Browse repository at this point
Copy the full SHA 0c3b06fView commit details -
"optimized import in quantum_circuit.py"
Some unused 'imports' were removed. And it's not suggested to use 'from xxx import *' to avoid namespace conflicts.
Configuration menu - View commit details
-
Copy full SHA for 244e08d - Browse repository at this point
Copy the full SHA 244e08dView commit details -
Add SXdgGate to quantum_element.py, sxdg() to quantum_circuit.py and also counterparts for Y. Matrices were written explicitly as array of numpy, symbols were also given.
Configuration menu - View commit details
-
Copy full SHA for 94515ca - Browse repository at this point
Copy the full SHA 94515caView commit details
Commits on Jul 6, 2023
-
"add some user-friendly features"
1. Use self.add_gates() to check out position range. 2. Set default pos of barrier() to be None which means to act on all qubits. 3. Integrate plot_circuit() from visualisation module. (Have tested by plotting.)
Configuration menu - View commit details
-
Copy full SHA for a59a82b - Browse repository at this point
Copy the full SHA a59a82bView commit details -
Outer access to element_gates remains the same for all gates have been imported in __init__.py
Configuration menu - View commit details
-
Copy full SHA for 5c1f617 - Browse repository at this point
Copy the full SHA 5c1f617View commit details -
1. Now allows updating by several commands of .measure(pos, cbits) on different positions. 2. Also allows to measure all qubits directly by measure() 3. Add uniqueness check.
Configuration menu - View commit details
-
Copy full SHA for 8e01805 - Browse repository at this point
Copy the full SHA 8e01805View commit details -
Configuration menu - View commit details
-
Copy full SHA for dde1609 - Browse repository at this point
Copy the full SHA dde1609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f63c22 - Browse repository at this point
Copy the full SHA 4f63c22View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 16572de - Browse repository at this point
Copy the full SHA 16572deView commit details -
And set a class attribute 'name' for the subclasses.
Configuration menu - View commit details
-
Copy full SHA for ec56ecb - Browse repository at this point
Copy the full SHA ec56ecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for edade0c - Browse repository at this point
Copy the full SHA edade0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 313dece - Browse repository at this point
Copy the full SHA 313deceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 996fecd - Browse repository at this point
Copy the full SHA 996fecdView commit details -
"Set
name
andmatrix
properties for Ins and Gates"Set 'name' as an abstract property for any abstract base class like Instruction and as a class attribute for concrete class like XGate. Some logic for adding `matrix` to QuantumCircuit and its subclasses. Matrices of gate-cls with paras are properties decorated by @Property, which update matrices automatically when parameters updated.
Configuration menu - View commit details
-
Copy full SHA for 099082d - Browse repository at this point
Copy the full SHA 099082dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed2655e - Browse repository at this point
Copy the full SHA ed2655eView commit details -
"Fix the para-missing problem for rotation gate"
Please help to test.
Configuration menu - View commit details
-
Copy full SHA for d1cba7e - Browse repository at this point
Copy the full SHA d1cba7eView commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c69a61d - Browse repository at this point
Copy the full SHA c69a61dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4b7ca - Browse repository at this point
Copy the full SHA ef4b7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c5fdd - Browse repository at this point
Copy the full SHA e3c5fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85faea1 - Browse repository at this point
Copy the full SHA 85faea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e4810 - Browse repository at this point
Copy the full SHA c8e4810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f7e737 - Browse repository at this point
Copy the full SHA 3f7e737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1488317 - Browse repository at this point
Copy the full SHA 1488317View commit details -
add register mechanism for QuantumGate
From now on you may look up all the available concrete gate class by: for name, cls in QuantumGate.gate_classes.items(): print(name, cls.__name__) Similar mechanism is to be implemented for Instruction.
Configuration menu - View commit details
-
Copy full SHA for 9b0adc3 - Browse repository at this point
Copy the full SHA 9b0adc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a085a - Browse repository at this point
Copy the full SHA 47a085aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5963397 - Browse repository at this point
Copy the full SHA 5963397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4394453 - Browse repository at this point
Copy the full SHA 4394453View commit details -
Configuration menu - View commit details
-
Copy full SHA for d621f10 - Browse repository at this point
Copy the full SHA d621f10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ec52c - Browse repository at this point
Copy the full SHA 35ec52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a55094d - Browse repository at this point
Copy the full SHA a55094dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6be26 - Browse repository at this point
Copy the full SHA cb6be26View commit details
Commits on Jul 13, 2023
-
fix some problem during benchmarking
Customized labeling of bits allowed, see new example adder.py for details.
Configuration menu - View commit details
-
Copy full SHA for 11639de - Browse repository at this point
Copy the full SHA 11639deView commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c2b0532 - Browse repository at this point
Copy the full SHA c2b0532View commit details -
fix 2 known problem, add another testbench
1. Use 'if xxx is not None' instead of 'if xxx'. 2. Fix overlapping of parameter text on plot.
Configuration menu - View commit details
-
Copy full SHA for fd7a3ff - Browse repository at this point
Copy the full SHA fd7a3ffView commit details -
fix 2 known problem, add another testbench
1. Use 'if xxx is not None' instead of 'if xxx'. 2. Fix overlapping of parameter text on plot.
Configuration menu - View commit details
-
Copy full SHA for 59faa18 - Browse repository at this point
Copy the full SHA 59faa18View commit details
Commits on Jul 20, 2023
-
Hopefully, plot_circuit now supports all the basic gates.
Configuration menu - View commit details
-
Copy full SHA for fe65df8 - Browse repository at this point
Copy the full SHA fe65df8View commit details -
delete local example in visualisation
Please add circuit examples into module 'benchmark'.
Configuration menu - View commit details
-
Copy full SHA for 28f7022 - Browse repository at this point
Copy the full SHA 28f7022View commit details -
Merge pull request #26 from chensgit169/dev
delete local example in visualisation
Configuration menu - View commit details
-
Copy full SHA for 5c72e98 - Browse repository at this point
Copy the full SHA 5c72e98View commit details
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1305073 - Browse repository at this point
Copy the full SHA 1305073View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ec9b4 - Browse repository at this point
Copy the full SHA 95ec9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a9113 - Browse repository at this point
Copy the full SHA b9a9113View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f2056 - Browse repository at this point
Copy the full SHA a8f2056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18550dd - Browse repository at this point
Copy the full SHA 18550ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a2e216 - Browse repository at this point
Copy the full SHA 5a2e216View commit details -
to be sent into documentation repository
Configuration menu - View commit details
-
Copy full SHA for c6403b5 - Browse repository at this point
Copy the full SHA c6403b5View commit details