quoptuna 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. quoptuna-0.0.3/LICENSE +201 -0
  2. quoptuna-0.0.3/PKG-INFO +287 -0
  3. quoptuna-0.0.3/README.md +224 -0
  4. quoptuna-0.0.3/pyproject.toml +184 -0
  5. quoptuna-0.0.3/setup.cfg +4 -0
  6. quoptuna-0.0.3/src/quoptuna/__init__.py +6 -0
  7. quoptuna-0.0.3/src/quoptuna/backend/__init__.py +0 -0
  8. quoptuna-0.0.3/src/quoptuna/backend/base/__init__.py +3 -0
  9. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/__init__.py +66 -0
  10. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/prep/circuit_models.py +200 -0
  11. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/__init__.py +3 -0
  12. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/__init__.py +29 -0
  13. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/bars_and_stripes.py +41 -0
  14. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/hidden_manifold.py +68 -0
  15. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/hyperplanes.py +81 -0
  16. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/linearly_separable.py +38 -0
  17. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/mnist.py +114 -0
  18. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/data/two_curves.py +74 -0
  19. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/hyperparam_search_utils.py +87 -0
  20. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/hyperparameter_settings.py +194 -0
  21. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/model_utils.py +280 -0
  22. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/__init__.py +162 -0
  23. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/circuit_centric.py +262 -0
  24. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/convolutional_neural_network.py +243 -0
  25. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/data_reuploading.py +542 -0
  26. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/dressed_quantum_circuit.py +330 -0
  27. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/iqp_kernel.py +246 -0
  28. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/iqp_variational.py +224 -0
  29. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/projected_quantum_kernel.py +313 -0
  30. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/quantum_boltzmann_machine.py +298 -0
  31. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/quantum_kitchen_sinks.py +270 -0
  32. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/quantum_metric_learning.py +298 -0
  33. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/quanvolutional_neural_network.py +395 -0
  34. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/separable.py +442 -0
  35. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/tree_tensor.py +248 -0
  36. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/vanilla_qnn.py +217 -0
  37. quoptuna-0.0.3/src/quoptuna/backend/base/pennylane_models/qml_benchmarks/models/weinet.py +306 -0
  38. quoptuna-0.0.3/src/quoptuna/backend/data.py +9 -0
  39. quoptuna-0.0.3/src/quoptuna/backend/models.py +137 -0
  40. quoptuna-0.0.3/src/quoptuna/backend/tuners/__init__.py +0 -0
  41. quoptuna-0.0.3/src/quoptuna/backend/tuners/optimizer.py +192 -0
  42. quoptuna-0.0.3/src/quoptuna/backend/typing/__init__.py +0 -0
  43. quoptuna-0.0.3/src/quoptuna/backend/typing/data_typing.py +15 -0
  44. quoptuna-0.0.3/src/quoptuna/backend/utils/__init__.py +0 -0
  45. quoptuna-0.0.3/src/quoptuna/backend/utils/data_utils/__init__.py +0 -0
  46. quoptuna-0.0.3/src/quoptuna/backend/utils/data_utils/data.py +66 -0
  47. quoptuna-0.0.3/src/quoptuna/backend/utils/data_utils/prepare.py +119 -0
  48. quoptuna-0.0.3/src/quoptuna/backend/xai/__init__.py +0 -0
  49. quoptuna-0.0.3/src/quoptuna/backend/xai/constants.py +15 -0
  50. quoptuna-0.0.3/src/quoptuna/backend/xai/xai.py +497 -0
  51. quoptuna-0.0.3/src/quoptuna/frontend/__init__.py +0 -0
  52. quoptuna-0.0.3/src/quoptuna/frontend/app.py +64 -0
  53. quoptuna-0.0.3/src/quoptuna/frontend/main_page.py +148 -0
  54. quoptuna-0.0.3/src/quoptuna/frontend/pages/1_dataset_selection.py +273 -0
  55. quoptuna-0.0.3/src/quoptuna/frontend/pages/2_optimization.py +247 -0
  56. quoptuna-0.0.3/src/quoptuna/frontend/pages/3_shap_analysis.py +485 -0
  57. quoptuna-0.0.3/src/quoptuna/frontend/pages/__init__.py +0 -0
  58. quoptuna-0.0.3/src/quoptuna/frontend/pages/shap.py +99 -0
  59. quoptuna-0.0.3/src/quoptuna/frontend/sidebar.py +84 -0
  60. quoptuna-0.0.3/src/quoptuna/frontend/support.py +230 -0
  61. quoptuna-0.0.3/src/quoptuna/frontend/test.py +33 -0
  62. quoptuna-0.0.3/src/quoptuna/py.typed +0 -0
  63. quoptuna-0.0.3/src/quoptuna.egg-info/PKG-INFO +287 -0
  64. quoptuna-0.0.3/src/quoptuna.egg-info/SOURCES.txt +69 -0
  65. quoptuna-0.0.3/src/quoptuna.egg-info/dependency_links.txt +1 -0
  66. quoptuna-0.0.3/src/quoptuna.egg-info/entry_points.txt +2 -0
  67. quoptuna-0.0.3/src/quoptuna.egg-info/requires.txt +37 -0
  68. quoptuna-0.0.3/src/quoptuna.egg-info/top_level.txt +1 -0
  69. quoptuna-0.0.3/tests/test_create_model.py +220 -0
  70. quoptuna-0.0.3/tests/test_data_preparation.py +70 -0
  71. quoptuna-0.0.3/tests/test_xai.py +142 -0
quoptuna-0.0.3/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 Edwin Jose
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,287 @@
1
+ Metadata-Version: 2.4
2
+ Name: quoptuna
3
+ Version: 0.0.3
4
+ Summary: quoptuna is a proposed open-source project that combines quantum computing with Optuna's hyperparameter optimization framework.
5
+ Author-email: Edwin Jose <edwinjose900@gmail.com>
6
+ License: Apache-2.0
7
+ Project-URL: homepage, https://Qentora.github.io/quoptuna
8
+ Project-URL: repository, https://github.com/Qentora/quoptuna
9
+ Project-URL: documentation, https://Qentora.github.io/quoptuna
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: <3.13,>=3.11
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: pennylane==0.38.1
26
+ Requires-Dist: scikit-learn==1.5.2
27
+ Requires-Dist: matplotlib==3.9.2
28
+ Requires-Dist: jax==0.4.31
29
+ Requires-Dist: jaxlib==0.4.31
30
+ Requires-Dist: flax==0.9.0
31
+ Requires-Dist: optax==0.2.3
32
+ Requires-Dist: pandas==2.2.2
33
+ Requires-Dist: seaborn==0.13.2
34
+ Requires-Dist: scipy==1.14.1
35
+ Requires-Dist: optuna==4.0.0
36
+ Requires-Dist: optuna-dashboard==0.16.2
37
+ Requires-Dist: streamlit==1.38.0
38
+ Requires-Dist: python-fasthtml==0.6.9
39
+ Requires-Dist: streamlit-elements==0.1.0
40
+ Requires-Dist: plotly==5.24.1
41
+ Requires-Dist: pydantic==2.9.2
42
+ Requires-Dist: shap==0.46.0
43
+ Requires-Dist: pytest<9.0.0,>=8.3.4
44
+ Requires-Dist: pytest-cov<7.0.0,>=6.0.0
45
+ Requires-Dist: ruff>=0.8.3
46
+ Requires-Dist: mypy>=1.13.0
47
+ Requires-Dist: codeflash>=0.8.3
48
+ Requires-Dist: pre-commit>=4.0.1
49
+ Requires-Dist: mkdocs>=1.6.1
50
+ Requires-Dist: mkdocs-material>=9.5.48
51
+ Requires-Dist: mkdocstrings>=0.27.0
52
+ Requires-Dist: mkdocstrings-python>=1.12.2
53
+ Requires-Dist: cairosvg>=2.7.1
54
+ Requires-Dist: mkdocs-glightbox>=0.4.0
55
+ Requires-Dist: mike>=2.1.3
56
+ Requires-Dist: mkdocs-autorefs>=1.2.0
57
+ Requires-Dist: pmlb>=1.0.1.post3
58
+ Requires-Dist: langchain>=0.3.17
59
+ Requires-Dist: langchain-openai>=0.3.3
60
+ Requires-Dist: langchain-google-genai>=2.0.9
61
+ Requires-Dist: ucimlrepo>=0.0.7
62
+ Dynamic: license-file
63
+
64
+ # QuOptuna
65
+
66
+ <div align="center">
67
+ <img src="assets/logo.png" alt="QuOptuna Logo" width="200" height="auto" />
68
+ <h1>QuOptuna</h1>
69
+ <p>
70
+ Bridging quantum computing and hyperparameter optimization for next-generation machine learning
71
+ </p>
72
+
73
+ ![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/Qentora/quoptuna?utm_source=oss&utm_medium=github&utm_campaign=Qentora%2Fquoptuna&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
74
+ [![License](https://img.shields.io/github/license/Qentora/quoptuna.svg)](https://github.com/Qentora/quoptuna/blob/master/LICENSE)
75
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
76
+
77
+ [![DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Qentora/quoptuna)
78
+
79
+ </div>
80
+
81
+ ---
82
+
83
+ ## 📚 Table of Contents
84
+
85
+ - [About](#-about)
86
+ - [Key Features](#-key-features)
87
+ - [Installation](#-installation)
88
+ - [Quick Start](#-quick-start)
89
+ - [Documentation](#-documentation)
90
+ - [Development](#-development)
91
+ - [Contributing](#-contributing)
92
+ - [License](#-license)
93
+ - [Acknowledgments](#-acknowledgments)
94
+
95
+ ---
96
+
97
+ ## 🌟 About
98
+
99
+ QuOptuna seamlessly integrates quantum computing capabilities with the powerful Optuna hyperparameter optimization framework. By leveraging quantum algorithms, QuOptuna enables researchers and practitioners to explore optimization landscapes more efficiently, pushing the boundaries of what's possible in machine learning and computational research.
100
+
101
+ Whether you're working with quantum machine learning models or classical algorithms, QuOptuna provides the tools you need to find optimal hyperparameters faster and more effectively.
102
+
103
+ ## ✨ Key Features
104
+
105
+ - **🔬 Quantum-Enhanced Optimization**: Specialized hyperparameter tuning algorithms designed specifically for quantum machine learning workflows
106
+ - **🎯 Hybrid Model Support**: Seamlessly optimize both quantum and classical models
107
+ - **Quantum Models**: Circuit-Centric Classifier, Data Reuploading Classifier, Quantum Kitchen Sinks, and more
108
+ - **Classical Models**: SVC, MLP Classifier, Perceptron, and other scikit-learn compatible models
109
+ - **📊 Interactive Dashboard**: Real-time visualization of optimization progress through an intuitive Streamlit interface
110
+ - **🔍 Explainable AI**: Built-in interpretability tools to understand model decisions and optimization trajectories
111
+ - **🔌 Extensible Architecture**: Plugin-friendly design for easy integration with custom models and optimization strategies
112
+
113
+ ## 📦 Installation
114
+
115
+ QuOptuna requires Python 3.8 or higher. Install using your preferred package manager:
116
+
117
+ ### Using UV (Recommended)
118
+
119
+ ```bash
120
+ uv pip install quoptuna
121
+ ```
122
+
123
+ ### Using pip
124
+
125
+ ```bash
126
+ pip install quoptuna
127
+ ```
128
+
129
+ ### Development Installation
130
+
131
+ For contributors and developers:
132
+
133
+ ```bash
134
+ git clone https://github.com/Qentora/quoptuna.git
135
+ cd quoptuna
136
+ uv pip install -e ".[dev]"
137
+ ```
138
+
139
+ ## 🚀 Quick Start
140
+
141
+ Get up and running in minutes with this simple example:
142
+
143
+ ```python
144
+ import quoptuna as qo
145
+
146
+ # Define your objective function
147
+ def objective(trial):
148
+ """
149
+ Example: Minimize a simple quadratic function
150
+ """
151
+ x = trial.suggest_float('x', -10, 10)
152
+ return x ** 2
153
+
154
+ # Create and run optimization study
155
+ study = qo.create_study(direction='minimize')
156
+ study.optimize(objective, n_trials=100)
157
+
158
+ # Display results
159
+ print(f"Best value: {study.best_value}")
160
+ print(f"Best parameters: {study.best_params}")
161
+ ```
162
+
163
+ ### 📈 Launch Interactive Dashboard
164
+
165
+ Monitor your optimization progress in real-time:
166
+
167
+ ```bash
168
+ quoptuna --start
169
+ ```
170
+
171
+ This launches a Streamlit dashboard where you can visualize optimization history, parameter importance, and convergence patterns.
172
+
173
+ ## 📖 Documentation
174
+
175
+ Comprehensive documentation, tutorials, and API references are available at:
176
+
177
+ **[https://Qentora.github.io/quoptuna](https://Qentora.github.io/quoptuna)**
178
+
179
+ Topics covered include:
180
+ - Detailed installation guides
181
+ - Quantum algorithm integration
182
+ - Advanced optimization techniques
183
+ - Custom sampler implementation
184
+ - API reference
185
+
186
+ ## 🛠️ Development
187
+
188
+ We welcome contributions from the community! Here's how to set up your development environment:
189
+
190
+ ### Prerequisites
191
+
192
+ - Python 3.8 or higher
193
+ - UV package manager (recommended) or pip
194
+ - Git
195
+
196
+ ### Setup Development Environment
197
+
198
+ ```bash
199
+ # Clone the repository
200
+ git clone https://github.com/Qentora/quoptuna.git
201
+ cd quoptuna
202
+
203
+ # Install development dependencies
204
+ uv pip install -e ".[dev]"
205
+ ```
206
+
207
+ ### Running Tests
208
+
209
+ ```bash
210
+ # Run all tests
211
+ uv run pytest
212
+
213
+ # Run with coverage report
214
+ uv run pytest --cov=quoptuna
215
+
216
+ # Generate HTML coverage report
217
+ uv run pytest --cov=quoptuna --cov-report=html
218
+ ```
219
+
220
+ ### Code Quality
221
+
222
+ Maintain code quality with our linting and type-checking tools:
223
+
224
+ ```bash
225
+ # Run linter
226
+ uv run ruff check .
227
+
228
+ # Auto-fix linting issues
229
+ uv run ruff check . --fix
230
+
231
+ # Type checking
232
+ uv run mypy .
233
+ ```
234
+
235
+ ## 🤝 Contributing
236
+
237
+ We're excited to have you contribute to QuOptuna! Here's how you can help:
238
+
239
+ 1. **Fork the repository** on GitHub
240
+ 2. **Create a feature branch**: `git checkout -b feature/amazing-feature`
241
+ 3. **Make your changes** and write tests
242
+ 4. **Commit your changes**: `git commit -m 'Add amazing feature'`
243
+ 5. **Push to the branch**: `git push origin feature/amazing-feature`
244
+ 6. **Open a Pull Request**
245
+
246
+ Please ensure your code:
247
+ - Passes all tests (`pytest`)
248
+ - Follows our style guide (`ruff check`)
249
+ - Includes appropriate documentation
250
+ - Has type hints where applicable
251
+
252
+ For detailed guidelines, see our [Contributing Guidelines](CONTRIBUTING.md).
253
+
254
+ ## 📄 License
255
+
256
+ This project is licensed under the Apache 2.0 License. See the [LICENSE](https://github.com/Qentora/quoptuna/blob/master/LICENSE) file for full details.
257
+
258
+ ## 🙏 Acknowledgments
259
+
260
+ This project builds on the excellent work of:
261
+
262
+ - **[Wolt Python Package Cookiecutter](https://github.com/woltapp/wolt-python-package-cookiecutter)** - Project template and structure
263
+ - **[XanaduAI's qml-benchmarks](https://github.com/XanaduAI/qml-benchmarks)** - Quantum machine learning benchmarking tools (Apache License 2.0)
264
+ - **[Optuna](https://optuna.org/)** - The hyperparameter optimization framework that powers QuOptuna
265
+
266
+ Special thanks to all our [contributors](https://github.com/Qentora/quoptuna/graphs/contributors) who help make QuOptuna better!
267
+
268
+ ---
269
+
270
+ ## 📊 Project Activity
271
+
272
+ [![Repography logo](https://images.repography.com/logo.svg)](https://repography.com) / Recent activity
273
+
274
+ [![Timeline graph](https://images.repography.com/61358072/Qentora/quoptuna/recent-activity/NFJ5verQB-dv9RS0RuDOgSE84SRTHP39DKgPw9dAbEI/BGB39P4WjaaHESiizHx0odYYf_6ZBBoXmK4Gh8qIAD4_timeline.svg)](https://github.com/Qentora/quoptuna/commits)
275
+ [![Issue status graph](https://images.repography.com/61358072/Qentora/quoptuna/recent-activity/NFJ5verQB-dv9RS0RuDOgSE84SRTHP39DKgPw9dAbEI/BGB39P4WjaaHESiizHx0odYYf_6ZBBoXmK4Gh8qIAD4_issues.svg)](https://github.com/Qentora/quoptuna/issues)
276
+ [![Pull request status graph](https://images.repography.com/61358072/Qentora/quoptuna/recent-activity/NFJ5verQB-dv9RS0RuDOgSE84SRTHP39DKgPw9dAbEI/BGB39P4WjaaHESiizHx0odYYf_6ZBBoXmK4Gh8qIAD4_prs.svg)](https://github.com/Qentora/quoptuna/pulls)
277
+ [![Top contributors](https://images.repography.com/61358072/Qentora/quoptuna/recent-activity/NFJ5verQB-dv9RS0RuDOgSE84SRTHP39DKgPw9dAbEI/BGB39P4WjaaHESiizHx0odYYf_6ZBBoXmK4Gh8qIAD4_users.svg)](https://github.com/Qentora/quoptuna/graphs/contributors)
278
+
279
+ ---
280
+
281
+ <div align="center">
282
+
283
+ **[Documentation](https://Qentora.github.io/quoptuna)** • **[Report Bug](https://github.com/Qentora/quoptuna/issues)** • **[Request Feature](https://github.com/Qentora/quoptuna/issues)**
284
+
285
+ Made with ❤️ by the Qentora team
286
+
287
+ </div>