Key Features
1. Able to parse and execute dynamic quantum circuit in simulated environments.
- https://github.com/ScQ-Cloud/pyquafu/pull/106
- https://github.com/ScQ-Cloud/pyquafu/pull/86
2. More sophisticated operations supported by `QuantumCircuit`. See examples in [quantum circuit tests](https://github.com/ScQ-Cloud/pyquafu/blob/master/tests/quafu/circuits/building_circuit_test.py#L7)
- https://github.com/ScQ-Cloud/pyquafu/pull/137
What's Changed
* Add cls Qubit and QuantumRegister by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/46
* Stable/0.3 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/55
* feat: define VQA interface && fix code style by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/59
* integrate oracle and register into circuit by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/60
* Add 'dev*.py' to .gitignore by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/61
* some path fix/adjustments by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/62
* Add estimator sample ut, load url from disk by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/65
* nothing by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/68
* Finally I also have an empty pr by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/69
* feat: restructure directory by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/71
* Almost nothing by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/73
* Merge stable/0.3 into master by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/76
* Replace ``pygraphviz`` with ``graphviz`` by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/80
* fix response handling in `Task.send` and add ut in workflow by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/81
* qaoa demo by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/85
* Implement PLY Convertor by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/86
* chore: add commit lint in workflow by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/87
* Add alternating layered ansatz implementation and a sample VQE by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/88
* Exception handling by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/92
* Add paramshift prototype by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/95
* Autograd with param shift demo by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/104
* Add support for classical operation by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/106
* Make registers iterable, fix some typos by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/107
* Fix bug of gpu simulator by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/109
* Add some pre-build funtions and tests by qtzhuang in https://github.com/ScQ-Cloud/pyquafu/pull/111
* fix some mistakes and minor deficiencies by qtzhuang in https://github.com/ScQ-Cloud/pyquafu/pull/112
* Pick ahead features of ``elements`` from stable/0.3 branch by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/113
* Fix qfasm for barrier by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/114
* fix: merge fixing of circuitPlot from stable/0.3 by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/115
* Eliminate dependence of qfvm, close 130 by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/116
* refactor algorithms module and update qnn implementation by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/117
* Enhance module of ``QuantumGate`` by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/118
* Implement Oracle and customize_gate by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/119
* the ansatz evolution according to hamiltonian by WanJiawang in https://github.com/ScQ-Cloud/pyquafu/pull/120
* Add amplitude embedding by qtzhuang in https://github.com/ScQ-Cloud/pyquafu/pull/122
* Enhance gate register mechanism, add visualization of Bloch Sphere by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/125
* feat: format code, add pre-commit and clang format by lucky9-cyou in https://github.com/ScQ-Cloud/pyquafu/pull/126
* feat: restructure torch transformer to support __call__() of QNN by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/121
* feat: add clifford simulator(1) by lucky9-cyou in https://github.com/ScQ-Cloud/pyquafu/pull/127
* Enhance QuantumGate (1/2, reopened) by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/129
* Supplement docs by chensgit169 in https://github.com/ScQ-Cloud/pyquafu/pull/131
* feat:add parameter by lss0208 in https://github.com/ScQ-Cloud/pyquafu/pull/133
* fix: openmp typo by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/134
* feat:add iqcs features by lss0208 in https://github.com/ScQ-Cloud/pyquafu/pull/137
* feat: support real machine gradient by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/135
* feat: use parameter in entangle layer, support for merging encoding and entangle layer by qtzhuang in https://github.com/ScQ-Cloud/pyquafu/pull/138
* Fix error in qfasm by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/145
* feat: unify exception handling of requests library error and website … by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/147
* Add __radd__ method to ParameterExpression class by YuChenSSR in https://github.com/ScQ-Cloud/pyquafu/pull/148
* Add support for to_openqasm with param and create prerelease draft for all whl by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/149
* fix:openqasm bug by lss0208 in https://github.com/ScQ-Cloud/pyquafu/pull/150
* feat: qfasm support parameter by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/151
* fix: FLOAT of lexer by beizhansl in https://github.com/ScQ-Cloud/pyquafu/pull/153
* fix some bugs by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/154
* fix: close 140 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/161
* fix: close 155, close 157 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/158
* ci: add pre-release only on push by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/159
* fix: close 160 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/162
* fix: automatically find openmp based on homebrew prefix, close 110 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/163
* Update document to 0.4.0 by Zhaoyilunnn in https://github.com/ScQ-Cloud/pyquafu/pull/166
New Contributors
* beizhansl made their first contribution in https://github.com/ScQ-Cloud/pyquafu/pull/86
* qtzhuang made their first contribution in https://github.com/ScQ-Cloud/pyquafu/pull/111
* WanJiawang made their first contribution in https://github.com/ScQ-Cloud/pyquafu/pull/120
* lucky9-cyou made their first contribution in https://github.com/ScQ-Cloud/pyquafu/pull/126
**Full Changelog**: https://github.com/ScQ-Cloud/pyquafu/compare/v0.3.6...v0.4.0