Skip to content

Commit

Permalink
Merge branch 'develop' into 'main'
Browse files Browse the repository at this point in the history
Rivet v1.0.8

See merge request haiqu-ai/qml-transpiler!21
  • Loading branch information
yuriy-haiqu committed Jun 17, 2024
2 parents 1024a9c + c790236 commit f9a418e
Show file tree
Hide file tree
Showing 26 changed files with 103 additions and 61 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

## Version 1.0.8

* Added Changelog.
* Updated dependencies.
* Updated examples.
* Updated example images style

## Version 1.0.7

* Added Expanded examples.
* Updated Readme.
* Updated Documentation generation CI pipeline.
* Updated dependencies.
Binary file added docs/images/Fig1_circuit_stitching.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Fig1_circuit_synthesis_schema.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/topological_compression.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/topological_compression.png
Binary file not shown.
22 changes: 6 additions & 16 deletions docs/source/examples_examples.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/source/examples_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
8 changes: 4 additions & 4 deletions examples/circuit_stitching/circuit_stitching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"id": "BtZ6pdz_zbpJ"
},
"source": [
"![image.png](Fig1_circuit_stitching.png) \n",
"![image.jpg](Fig1_circuit_stitching.jpg) \n",
"*Fig.1. Schematic illustration procedure for the circuit stitching*"
]
},
Expand Down Expand Up @@ -805,9 +805,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Rivet_Release",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "rivet_release"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -819,7 +819,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
8 changes: 4 additions & 4 deletions examples/circuit_synthesis/circuit_synthesis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"id": "48640a89-e060-4d42-bb10-84fd0f899766"
},
"source": [
"![image.png](Fig1_circuit_synthesis_schema.png) \n",
"![image.jpg](Fig1_circuit_synthesis_schema.jpg) \n",
"*Fig.1. Hierarchical synthesis or instantiation based circuit optimization. Both partitioning strategy and quality of numerical optimization determine performance and final output quality. Image source [1].*"
]
},
Expand Down Expand Up @@ -387,9 +387,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Rivet_Release",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "rivet_release"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -401,7 +401,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
73 changes: 55 additions & 18 deletions examples/fourier_adder/fourier_adder.ipynb

Large diffs are not rendered by default.

Binary file added examples/fourier_adder/images/Fig1_QFT_adder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed examples/fourier_adder/images/Fig1_QFT_adder.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added examples/hashing/Fig1_hashing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed examples/hashing/Fig1_hashing.png
Binary file not shown.
8 changes: 4 additions & 4 deletions examples/hashing/hashing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"id": "XNwfl8QI9M7x"
},
"source": [
"![image.png](Fig1_hashing.png) \n",
"![image.jpg](Fig1_hashing.jpg) \n",
"*Fig.1. Schematic representation of three quantum circuits.*"
]
},
Expand Down Expand Up @@ -1018,9 +1018,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Rivet_Release",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "rivet_release"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1032,7 +1032,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"source": [
"To decrease transpilation and simulation time the Rivet transpiler function `transpile_and_compress` selects topologically most important qubits of a backend device and produces a limited coupling map to decrease transpilation and simulation time:\n",
"\n",
"![image.png](Fig1_compression_topology.png) \n",
"![image.jpg](topological_compression.jpg) \n",
"\n",
"*Fig.1. Node centralities for 27-qubit IBMQ backend topology.*\n"
]
Expand Down Expand Up @@ -556,9 +556,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Rivet_Release",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "rivet_release"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -570,7 +570,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions examples/shadows/shadow_state_tomography.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1660,9 +1660,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Rivet_Release",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "rivet_release"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1674,7 +1674,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
readme = "README.md"
authors = [{ name = "Haiqu Inc.", email = "info@haiqu.ai" }]
license = { file = "LICENSE" }
version = "1.0.7"
version = "1.0.8"
requires-python = ">= 3.10"
dependencies = [
"qiskit == 1.0.2",
"qiskit-aer == 0.13.3",
"qiskit_ibm_runtime == 0.22.0",
"qiskit <= 1.0.2",
"qiskit-aer <= 0.13.3",
"qiskit_ibm_runtime >= 0.22.0",
"rustworkx >= 0.14.2"
]
keywords = [
Expand Down Expand Up @@ -47,10 +47,10 @@

[project.optional-dependencies]

bqskit = ["bqskit == 1.1.1"]
bqskit = ["bqskit >= 1.1.1"]

pytket = ["pytket == 1.26.0",
"pytket-qiskit == 0.51.0"]
pytket = ["pytket >= 1.26.0",
"pytket-qiskit >= 0.51.0"]

testing = ["pytest >= 7.4.3",
"coverage >= 7.3.2"]
Expand Down

0 comments on commit f9a418e

Please sign in to comment.