QFIE 1.2.1__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.
qfie-1.2.1/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Quasar-UniNA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
qfie-1.2.1/PKG-INFO ADDED
@@ -0,0 +1,175 @@
1
+ Metadata-Version: 2.4
2
+ Name: QFIE
3
+ Version: 1.2.1
4
+ Summary: Quantum Fuzzy Inference Engines with Python
5
+ Home-page: https://github.com/Quasar-UniNA/QFIE
6
+ Author: R. Schiattarella
7
+ Author-email: roberto.schiattarella@unina.it
8
+ Project-URL: Documentation, https://qfie.readthedocs.io/en/latest/
9
+ Project-URL: Source, https://github.com/Quasar-UniNA/QFIE
10
+ Project-URL: Issue Tracker, https://github.com/Quasar-UniNA/QFIE/issues
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Intended Audience :: Science/Research
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Scientific/Engineering :: Quantum Computing
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE.md
26
+ Requires-Dist: numpy
27
+ Requires-Dist: packaging
28
+ Requires-Dist: qiskit<3.0,>=1.0.2
29
+ Requires-Dist: qiskit-aer<1.0,>=0.14.2
30
+ Requires-Dist: scikit-fuzzy>=0.4.2
31
+ Requires-Dist: sympy>=1.9
32
+ Provides-Extra: examples
33
+ Requires-Dist: matplotlib; extra == "examples"
34
+ Requires-Dist: jupyter==1.0.0; extra == "examples"
35
+ Provides-Extra: docs
36
+ Requires-Dist: sphinx>=5.1.1; extra == "docs"
37
+ Requires-Dist: sphinx-rtd-theme>=1.0.0; extra == "docs"
38
+ Requires-Dist: sphinxcontrib-napoleon>=0.7; extra == "docs"
39
+ Requires-Dist: nbsphinx>=0.8.9; extra == "docs"
40
+ Provides-Extra: ibm
41
+ Requires-Dist: qiskit-ibm-runtime; extra == "ibm"
42
+ Provides-Extra: dev
43
+ Requires-Dist: build; extra == "dev"
44
+ Requires-Dist: pytest; extra == "dev"
45
+ Requires-Dist: twine; extra == "dev"
46
+ Dynamic: license-file
47
+
48
+ # Quantum Fuzzy Inference Engine
49
+
50
+ [![Made at QuasarLab](https://img.shields.io/badge/UniNA-QuasarLab-blue)](http://quasar.unina.it)
51
+ [![Documentation](https://img.shields.io/badge/docs-Read_the_Docs-brightgreen)](https://qfie.readthedocs.io/en/latest/)
52
+ [![Related paper](https://img.shields.io/badge/paper-IEEE-orange)](https://doi.org/10.1109/TFUZZ.2022.3202348)
53
+
54
+ QFIE is a Python package for building and executing Quantum Fuzzy Inference
55
+ Engines. It implements the approach introduced in *On the Implementation of
56
+ Fuzzy Inference Engines on Quantum Computers*.
57
+
58
+ ## Installation
59
+
60
+ QFIE requires Python 3.10 or later. Install the package from PyPI with:
61
+
62
+ ```bash
63
+ pip install QFIE
64
+ ```
65
+
66
+
67
+
68
+ To install the latest development version directly from the repository:
69
+
70
+ ```bash
71
+ pip install "git+https://github.com/Quasar-UniNA/QFIE.git"
72
+ ```
73
+
74
+ The complete user guide and examples are available in the
75
+ [QFIE documentation](https://qfie.readthedocs.io/en/latest/).
76
+
77
+ ## Research using QFIE
78
+
79
+ QFIE has been used in several application domains and extensions:
80
+
81
+ - Particle accelerator control at CERN:
82
+ [*Quantum Fuzzy Inference Engine for Particle Accelerator Control*](https://doi.org/10.1109/TQE.2024.3374251),
83
+ IEEE Transactions on Quantum Engineering, 2024.
84
+ - Edge detection on real NISQ hardware:
85
+ [*Quantum Fuzzy Logic for Edge Detection: A Demonstration on NISQ Hardware*](https://doi.org/10.1016/j.asoc.2025.113866),
86
+ Applied Soft Computing, 2025.
87
+ - Control systems for smart cities:
88
+ [*Using Quantum Fuzzy Inference Engines in Smart Cities*](https://doi.org/10.1109/FUZZ-IEEE60900.2024.10611863),
89
+ FUZZ-IEEE 2024.
90
+ - Interval type-2 Mamdani fuzzy systems:
91
+ [*Hybrid Quantum-Classical Interval Type-2 Mamdani Fuzzy Systems*](https://doi.org/10.1109/FUZZ62266.2025.11152074),
92
+ FUZZ-IEEE 2025.
93
+ - Distribution across multiple NISQ devices:
94
+ [*Distributing Fuzzy Inference Engines on Quantum Computers*](https://doi.org/10.1109/FUZZ52849.2023.10309786),
95
+ FUZZ-IEEE 2023.
96
+
97
+ ## Citation
98
+
99
+ If you use QFIE in your research, please cite the foundational paper:
100
+
101
+ ```bibtex
102
+ @article{acampora2023implementation,
103
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
104
+ title = {On the Implementation of Fuzzy Inference Engines on Quantum Computers},
105
+ journal = {IEEE Transactions on Fuzzy Systems},
106
+ volume = {31},
107
+ number = {5},
108
+ pages = {1419--1433},
109
+ year = {2023},
110
+ doi = {10.1109/TFUZZ.2022.3202348}
111
+ }
112
+ ```
113
+
114
+ <details>
115
+ <summary>BibTeX entries for QFIE applications and extensions</summary>
116
+
117
+ ```bibtex
118
+ @article{acampora2024quantum,
119
+ author = {Acampora, Giovanni and Grossi, Michele and Schenk, Michael and Schiattarella, Roberto},
120
+ title = {Quantum Fuzzy Inference Engine for Particle Accelerator Control},
121
+ journal = {IEEE Transactions on Quantum Engineering},
122
+ volume = {5},
123
+ pages = {1--13},
124
+ year = {2024},
125
+ publisher = {IEEE},
126
+ doi = {10.1109/TQE.2024.3374251}
127
+ }
128
+
129
+ @article{nunziata2025quantum,
130
+ author = {Nunziata, G. and Crisci, S. and De Gregorio, G. and Schiattarella, R. and Acampora, G. and Coraggio, L. and Itaco, N.},
131
+ title = {Quantum Fuzzy Logic for Edge Detection: A Demonstration on {NISQ} Hardware},
132
+ journal = {Applied Soft Computing},
133
+ volume = {185},
134
+ pages = {113866},
135
+ year = {2025},
136
+ publisher = {Elsevier},
137
+ doi = {10.1016/j.asoc.2025.113866}
138
+ }
139
+
140
+ @inproceedings{acampora2024using,
141
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
142
+ title = {Using Quantum Fuzzy Inference Engines in Smart Cities},
143
+ booktitle = {2024 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE)},
144
+ pages = {1--8},
145
+ year = {2024},
146
+ organization = {IEEE},
147
+ doi = {10.1109/FUZZ-IEEE60900.2024.10611863}
148
+ }
149
+
150
+ @inproceedings{acampora2025hybrid,
151
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
152
+ title = {Hybrid Quantum-Classical Interval Type-2 Mamdani Fuzzy Systems},
153
+ booktitle = {2025 IEEE International Conference on Fuzzy Systems (FUZZ)},
154
+ pages = {1--6},
155
+ year = {2025},
156
+ organization = {IEEE},
157
+ doi = {10.1109/FUZZ62266.2025.11152074}
158
+ }
159
+
160
+ @inproceedings{acampora2023distributing,
161
+ author = {Acampora, Giovanni and Massa, Alfredo and Schiattarella, Roberto and Vitiello, Autilia},
162
+ title = {Distributing Fuzzy Inference Engines on Quantum Computers},
163
+ booktitle = {2023 IEEE International Conference on Fuzzy Systems (FUZZ)},
164
+ pages = {1--6},
165
+ year = {2023},
166
+ organization = {IEEE},
167
+ doi = {10.1109/FUZZ52849.2023.10309786}
168
+ }
169
+ ```
170
+
171
+ </details>
172
+
173
+ ## License
174
+
175
+ QFIE is distributed under the [MIT License](LICENSE.md).
qfie-1.2.1/README.md ADDED
@@ -0,0 +1,128 @@
1
+ # Quantum Fuzzy Inference Engine
2
+
3
+ [![Made at QuasarLab](https://img.shields.io/badge/UniNA-QuasarLab-blue)](http://quasar.unina.it)
4
+ [![Documentation](https://img.shields.io/badge/docs-Read_the_Docs-brightgreen)](https://qfie.readthedocs.io/en/latest/)
5
+ [![Related paper](https://img.shields.io/badge/paper-IEEE-orange)](https://doi.org/10.1109/TFUZZ.2022.3202348)
6
+
7
+ QFIE is a Python package for building and executing Quantum Fuzzy Inference
8
+ Engines. It implements the approach introduced in *On the Implementation of
9
+ Fuzzy Inference Engines on Quantum Computers*.
10
+
11
+ ## Installation
12
+
13
+ QFIE requires Python 3.10 or later. Install the package from PyPI with:
14
+
15
+ ```bash
16
+ pip install QFIE
17
+ ```
18
+
19
+
20
+
21
+ To install the latest development version directly from the repository:
22
+
23
+ ```bash
24
+ pip install "git+https://github.com/Quasar-UniNA/QFIE.git"
25
+ ```
26
+
27
+ The complete user guide and examples are available in the
28
+ [QFIE documentation](https://qfie.readthedocs.io/en/latest/).
29
+
30
+ ## Research using QFIE
31
+
32
+ QFIE has been used in several application domains and extensions:
33
+
34
+ - Particle accelerator control at CERN:
35
+ [*Quantum Fuzzy Inference Engine for Particle Accelerator Control*](https://doi.org/10.1109/TQE.2024.3374251),
36
+ IEEE Transactions on Quantum Engineering, 2024.
37
+ - Edge detection on real NISQ hardware:
38
+ [*Quantum Fuzzy Logic for Edge Detection: A Demonstration on NISQ Hardware*](https://doi.org/10.1016/j.asoc.2025.113866),
39
+ Applied Soft Computing, 2025.
40
+ - Control systems for smart cities:
41
+ [*Using Quantum Fuzzy Inference Engines in Smart Cities*](https://doi.org/10.1109/FUZZ-IEEE60900.2024.10611863),
42
+ FUZZ-IEEE 2024.
43
+ - Interval type-2 Mamdani fuzzy systems:
44
+ [*Hybrid Quantum-Classical Interval Type-2 Mamdani Fuzzy Systems*](https://doi.org/10.1109/FUZZ62266.2025.11152074),
45
+ FUZZ-IEEE 2025.
46
+ - Distribution across multiple NISQ devices:
47
+ [*Distributing Fuzzy Inference Engines on Quantum Computers*](https://doi.org/10.1109/FUZZ52849.2023.10309786),
48
+ FUZZ-IEEE 2023.
49
+
50
+ ## Citation
51
+
52
+ If you use QFIE in your research, please cite the foundational paper:
53
+
54
+ ```bibtex
55
+ @article{acampora2023implementation,
56
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
57
+ title = {On the Implementation of Fuzzy Inference Engines on Quantum Computers},
58
+ journal = {IEEE Transactions on Fuzzy Systems},
59
+ volume = {31},
60
+ number = {5},
61
+ pages = {1419--1433},
62
+ year = {2023},
63
+ doi = {10.1109/TFUZZ.2022.3202348}
64
+ }
65
+ ```
66
+
67
+ <details>
68
+ <summary>BibTeX entries for QFIE applications and extensions</summary>
69
+
70
+ ```bibtex
71
+ @article{acampora2024quantum,
72
+ author = {Acampora, Giovanni and Grossi, Michele and Schenk, Michael and Schiattarella, Roberto},
73
+ title = {Quantum Fuzzy Inference Engine for Particle Accelerator Control},
74
+ journal = {IEEE Transactions on Quantum Engineering},
75
+ volume = {5},
76
+ pages = {1--13},
77
+ year = {2024},
78
+ publisher = {IEEE},
79
+ doi = {10.1109/TQE.2024.3374251}
80
+ }
81
+
82
+ @article{nunziata2025quantum,
83
+ author = {Nunziata, G. and Crisci, S. and De Gregorio, G. and Schiattarella, R. and Acampora, G. and Coraggio, L. and Itaco, N.},
84
+ title = {Quantum Fuzzy Logic for Edge Detection: A Demonstration on {NISQ} Hardware},
85
+ journal = {Applied Soft Computing},
86
+ volume = {185},
87
+ pages = {113866},
88
+ year = {2025},
89
+ publisher = {Elsevier},
90
+ doi = {10.1016/j.asoc.2025.113866}
91
+ }
92
+
93
+ @inproceedings{acampora2024using,
94
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
95
+ title = {Using Quantum Fuzzy Inference Engines in Smart Cities},
96
+ booktitle = {2024 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE)},
97
+ pages = {1--8},
98
+ year = {2024},
99
+ organization = {IEEE},
100
+ doi = {10.1109/FUZZ-IEEE60900.2024.10611863}
101
+ }
102
+
103
+ @inproceedings{acampora2025hybrid,
104
+ author = {Acampora, Giovanni and Schiattarella, Roberto and Vitiello, Autilia},
105
+ title = {Hybrid Quantum-Classical Interval Type-2 Mamdani Fuzzy Systems},
106
+ booktitle = {2025 IEEE International Conference on Fuzzy Systems (FUZZ)},
107
+ pages = {1--6},
108
+ year = {2025},
109
+ organization = {IEEE},
110
+ doi = {10.1109/FUZZ62266.2025.11152074}
111
+ }
112
+
113
+ @inproceedings{acampora2023distributing,
114
+ author = {Acampora, Giovanni and Massa, Alfredo and Schiattarella, Roberto and Vitiello, Autilia},
115
+ title = {Distributing Fuzzy Inference Engines on Quantum Computers},
116
+ booktitle = {2023 IEEE International Conference on Fuzzy Systems (FUZZ)},
117
+ pages = {1--6},
118
+ year = {2023},
119
+ organization = {IEEE},
120
+ doi = {10.1109/FUZZ52849.2023.10309786}
121
+ }
122
+ ```
123
+
124
+ </details>
125
+
126
+ ## License
127
+
128
+ QFIE is distributed under the [MIT License](LICENSE.md).
@@ -0,0 +1,11 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=42",
4
+ "wheel"
5
+ ]
6
+ build-backend = "setuptools.build_meta"
7
+
8
+ [tool.pytest.ini_options]
9
+ testpaths = ["tests"]
10
+ pythonpath = ["src"]
11
+ addopts = "-ra"
qfie-1.2.1/setup.cfg ADDED
@@ -0,0 +1,65 @@
1
+ [metadata]
2
+ name = QFIE
3
+ version = attr: QFIE.__version__
4
+ author = R. Schiattarella
5
+ author_email = roberto.schiattarella@unina.it
6
+ description = Quantum Fuzzy Inference Engines with Python
7
+ long_description = file: README.md
8
+ long_description_content_type = text/markdown
9
+ license_files = LICENSE.md
10
+ url = https://github.com/Quasar-UniNA/QFIE
11
+ project_urls =
12
+ Documentation = https://qfie.readthedocs.io/en/latest/
13
+ Source = https://github.com/Quasar-UniNA/QFIE
14
+ Issue Tracker = https://github.com/Quasar-UniNA/QFIE/issues
15
+ classifiers =
16
+ Programming Language :: Python :: 3
17
+ Programming Language :: Python :: 3.10
18
+ Programming Language :: Python :: 3.11
19
+ Programming Language :: Python :: 3.12
20
+ Programming Language :: Python :: 3.13
21
+ Programming Language :: Python :: 3.14
22
+ License :: OSI Approved :: MIT License
23
+ Operating System :: OS Independent
24
+ Intended Audience :: Science/Research
25
+ Topic :: Scientific/Engineering :: Artificial Intelligence
26
+ Topic :: Scientific/Engineering :: Quantum Computing
27
+ Topic :: Software Development :: Libraries :: Python Modules
28
+
29
+ [options]
30
+ zip_safe = False
31
+ package_dir =
32
+ =src
33
+ packages = find:
34
+ python_requires = >=3.10
35
+ install_requires =
36
+ numpy
37
+ packaging
38
+ qiskit>=1.0.2,<3.0
39
+ qiskit-aer>=0.14.2,<1.0
40
+ scikit-fuzzy>=0.4.2
41
+ sympy>=1.9
42
+
43
+ [options.packages.find]
44
+ where = src
45
+
46
+ [options.extras_require]
47
+ examples =
48
+ matplotlib
49
+ jupyter==1.0.0
50
+ docs =
51
+ sphinx>=5.1.1
52
+ sphinx-rtd-theme>=1.0.0
53
+ sphinxcontrib-napoleon>=0.7
54
+ nbsphinx>=0.8.9
55
+ ibm =
56
+ qiskit-ibm-runtime
57
+ dev =
58
+ build
59
+ pytest
60
+ twine
61
+
62
+ [egg_info]
63
+ tag_build =
64
+ tag_date = 0
65
+