qumat 0.0.1__py3-none-any.whl → 0.5.0rc1__py3-none-any.whl
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.
- qumat/__init__.py +20 -0
- qumat/amazon_braket_backend.py +95 -15
- qumat/cirq_backend.py +100 -16
- qumat/qdp.py +63 -0
- qumat/qiskit_backend.py +117 -24
- qumat/qumat.py +487 -13
- qumat-0.5.0rc1.dist-info/METADATA +111 -0
- qumat-0.5.0rc1.dist-info/RECORD +11 -0
- {qumat-0.0.1.dist-info → qumat-0.5.0rc1.dist-info}/WHEEL +1 -1
- {qumat-0.0.1.dist-info → qumat-0.5.0rc1.dist-info/licenses}/LICENSE +0 -112
- qumat-0.5.0rc1.dist-info/licenses/NOTICE +7 -0
- qumat-0.0.1.dist-info/METADATA +0 -77
- qumat-0.0.1.dist-info/NOTICE +0 -41
- qumat-0.0.1.dist-info/RECORD +0 -10
|
@@ -202,77 +202,6 @@
|
|
|
202
202
|
limitations under the License.
|
|
203
203
|
|
|
204
204
|
|
|
205
|
-
==========================================================
|
|
206
|
-
CERN Colt Java Library
|
|
207
|
-
==========================================================
|
|
208
|
-
Copyright © 1999 CERN - European Organization for Nuclear Research.<br/><br/>
|
|
209
|
-
|
|
210
|
-
Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose
|
|
211
|
-
is hereby granted without fee, provided that the above copyright notice appear in all copies and
|
|
212
|
-
that both that copyright notice and this permission notice appear in supporting documentation.
|
|
213
|
-
CERN makes no representations about the suitability of this software for any purpose.
|
|
214
|
-
It is provided "as is" without expressed or implied warranty.
|
|
215
|
-
|
|
216
|
-
[Mahout note: We have included, as source, parts of the CERN Colt Java Matrix library as a Module
|
|
217
|
-
in the Mahout source tree. The parts included are those in cern.colt* , cern.jet*, cern.clhep.
|
|
218
|
-
We have excluded the hep.aida* packages.]
|
|
219
|
-
|
|
220
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/Arrays.java
|
|
221
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/OldQRDecomposition.java
|
|
222
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/PersistentObject.java
|
|
223
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/QRDecomposition.java
|
|
224
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/SingularValueDecomposition.java
|
|
225
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/Swapper.java
|
|
226
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/collections/Arithmetic.java
|
|
227
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/collections/Constants.java
|
|
228
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/DoubleDoubleFunction.java
|
|
229
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/DoubleFunction.java
|
|
230
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/Functions.java
|
|
231
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/IntFunction.java
|
|
232
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/IntIntDoubleFunction.java
|
|
233
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/Mult.java
|
|
234
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/ObjectProcedure.java
|
|
235
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/function/PlusMult.java
|
|
236
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/math/Arithmetic.java
|
|
237
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/math/Constants.java
|
|
238
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/math/Polynomial.java
|
|
239
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/AbstractContinuousDistribution.java
|
|
240
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/AbstractDiscreteDistribution.java
|
|
241
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/AbstractDistribution.java
|
|
242
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/Exponential.java
|
|
243
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/Gamma.java
|
|
244
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/NegativeBinomial.java
|
|
245
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/Normal.java
|
|
246
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/Poisson.java
|
|
247
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/Uniform.java
|
|
248
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/engine/MersenneTwister.java
|
|
249
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/engine/RandomEngine.java
|
|
250
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/random/sampling/RandomSampler.java
|
|
251
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/stat/Gamma.java
|
|
252
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/jet/stat/Probability.java
|
|
253
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/list/AbstractList.java
|
|
254
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/list/AbstractObjectList.java
|
|
255
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/list/ObjectArrayList.java
|
|
256
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/list/SimpleLongArrayList.java
|
|
257
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/map/HashFunctions.java
|
|
258
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/map/OpenHashMap.java
|
|
259
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/map/QuickOpenIntIntHashMap.java
|
|
260
|
-
apache-mahout-14.1/core/src/main/java/org/apache/mahout/math/set/AbstractSet.java
|
|
261
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/buffer/ValueTypeBufferConsumer.java.t
|
|
262
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/function/KeyTypeObjectProcedure.java.t
|
|
263
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/function/KeyTypeProcedure.java.t
|
|
264
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/function/KeyTypeProcedure.java.t
|
|
265
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/function/ObjectValueTypeProcedure.java.t
|
|
266
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/function/ObjectValueTypeProcedure.java.t
|
|
267
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/list/AbstractValueTypeList.java.t
|
|
268
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/list/ValueTypeArrayList.java.t
|
|
269
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/AbstractKeyTypeObjectMap.java.t
|
|
270
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/AbstractKeyTypeValueTypeMap.java.t
|
|
271
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/AbstractObjectValueTypeMap.java.t
|
|
272
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/OpenKeyTypeObjectHashMap.java.t
|
|
273
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/OpenKeyTypeValueTypeHashMap.java.t
|
|
274
|
-
apache-mahout-14.1/core/src/main/java-templates/org/apache/mahout/math/map/OpenObjectValueTypeHashMap.java.t
|
|
275
|
-
|
|
276
205
|
================================================================
|
|
277
206
|
Austin Appleby's C algorithm implemented by Yonik Seeley under public domain
|
|
278
207
|
================================================================
|
|
@@ -303,44 +232,3 @@ Proper
|
|
|
303
232
|
Files in the directory: website/assets/vendor/propper
|
|
304
233
|
Are copied from the Propper project (https://popper.js.org/)
|
|
305
234
|
which is licensed under the MIT license.
|
|
306
|
-
|
|
307
|
-
================================================================
|
|
308
|
-
The following applies to the ViennaCL library and files in the mahout-native-viennacl module
|
|
309
|
-
================================================================
|
|
310
|
-
|
|
311
|
-
Copyright (c) 2010-2016 Institute for Microelectronics,
|
|
312
|
-
Institute for Analysis and Scientific Computing, TU Wien.
|
|
313
|
-
Portions of this software are copyright by UChicago Argonne, LLC.
|
|
314
|
-
Argonne National Laboratory, with facilities in the state of Illinois,
|
|
315
|
-
is owned by The United States Government, and operated by UChicago Argonne, LLC
|
|
316
|
-
under provision of a contract with the Department of Energy.
|
|
317
|
-
|
|
318
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
319
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
320
|
-
in the Software without restriction, including without limitation the rights
|
|
321
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
322
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
323
|
-
furnished to do so, subject to the following conditions:
|
|
324
|
-
|
|
325
|
-
The above copyright notice and this permission notice shall be included in
|
|
326
|
-
all copies or substantial portions of the Software.
|
|
327
|
-
|
|
328
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
329
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
330
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
331
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
332
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
333
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
334
|
-
THE SOFTWARE.
|
|
335
|
-
|
|
336
|
-
===============================================================================
|
|
337
|
-
The following applies to the bydeco/javacpp code and module
|
|
338
|
-
===============================================================================
|
|
339
|
-
You may use this work under the terms of either the Apache License,
|
|
340
|
-
Version 2.0, or the GNU General Public License (GPL), either version 2,
|
|
341
|
-
or any later version, with "Classpath" exception (details below).
|
|
342
|
-
|
|
343
|
-
You don't have to do anything special to choose one license or the other
|
|
344
|
-
and you don't have to notify anyone which license you are using. You are
|
|
345
|
-
free to use this work in any project (even commercial projects) as long
|
|
346
|
-
as the copyright header is left intact.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
==============================================================
|
|
2
|
+
Apache Mahout
|
|
3
|
+
Copyright 2009-2026 The Apache Software Foundation
|
|
4
|
+
==============================================================
|
|
5
|
+
|
|
6
|
+
This product includes software developed by
|
|
7
|
+
The Apache Software Foundation (http://www.apache.org/).
|
qumat-0.0.1.dist-info/METADATA
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: qumat
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: A library for composing quantum machine learning.
|
|
5
|
-
License: ASFv2
|
|
6
|
-
Author: Apache Mahout
|
|
7
|
-
Requires-Python: >=3.9,<4.0
|
|
8
|
-
Classifier: License :: Other/Proprietary License
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Dist: amazon-braket-sdk (>=1.10.0,<2.0.0)
|
|
15
|
-
Requires-Dist: cirq (>=1.3.0,<2.0.0)
|
|
16
|
-
Requires-Dist: qiskit (>=0.45.1,<0.46.0)
|
|
17
|
-
Requires-Dist: qiskit-aer (>=0.13.2,<0.14.0)
|
|
18
|
-
Requires-Dist: sympy (>=1.9,<2.0)
|
|
19
|
-
Description-Content-Type: text/markdown
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<!--
|
|
23
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
24
|
-
contributor license agreements. See the NOTICE file distributed with
|
|
25
|
-
this work for additional information regarding copyright ownership.
|
|
26
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
27
|
-
(the "License"); you may not use this file except in compliance with
|
|
28
|
-
the License. You may obtain a copy of the License at
|
|
29
|
-
|
|
30
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
31
|
-
|
|
32
|
-
Unless required by applicable law or agreed to in writing, software
|
|
33
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
34
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
35
|
-
See the License for the specific language governing permissions and
|
|
36
|
-
limitations under the License.
|
|
37
|
-
-->
|
|
38
|
-
|
|
39
|
-
Welcome to Apache Mahout!
|
|
40
|
-
===========
|
|
41
|
-
The goal of the Apache Mahout™ project is to build an environment for quickly creating scalable, performant machine learning applications.
|
|
42
|
-
|
|
43
|
-
For additional information about Mahout, visit the [Mahout Home Page](http://mahout.apache.org/)
|
|
44
|
-
|
|
45
|
-

|
|
46
|
-
|
|
47
|
-
# QuMat
|
|
48
|
-
|
|
49
|
-
QuMat is a POC of a high level Python library for intefacing with multiple quantum computing backends. It is designed to be easy to use and to abstract the particularities of each backend, so that you may 'write once, run anywhere.' Like the Java of quantum computing, but Java is the new COBOL so we're trying to distance ourselves from that comparison :P
|
|
50
|
-
|
|
51
|
-
Check out [basic gates](docs/basic_gates.md) for a quick introduction to the basic gates which are basically all that exist right now (and even those only exist for `qiskit`).
|
|
52
|
-
|
|
53
|
-
## Getting started
|
|
54
|
-
|
|
55
|
-
To install dependencies, run the following:
|
|
56
|
-
```
|
|
57
|
-
pip install -U poetry
|
|
58
|
-
poetry install
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Roadmap
|
|
62
|
-
|
|
63
|
-
### Q2
|
|
64
|
-
- [x] Transition of Classic to maintenance mode
|
|
65
|
-
|
|
66
|
-
### Q3
|
|
67
|
-
- [ ] Integration of Qumat with hardened (tests, docs, CI/CD) cirq and qiskit backends
|
|
68
|
-
- [ ] Initiation of kernel methods
|
|
69
|
-
- [x] Integration with Amazon Braket
|
|
70
|
-
- [x] [Public talk about Qumat](https://2024.fossy.us/schedule/presentation/265/)
|
|
71
|
-
|
|
72
|
-
### Q3 and beyond
|
|
73
|
-
- [ ] Development of distributed quantum solvers
|
|
74
|
-
|
|
75
|
-
#### Legal
|
|
76
|
-
Please see the `NOTICE.txt` included in this directory for more information.
|
|
77
|
-
|
qumat-0.0.1.dist-info/NOTICE
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
==============================================================
|
|
2
|
-
Apache Mahout
|
|
3
|
-
Copyright 2009-2020 The Apache Software Foundation
|
|
4
|
-
==============================================================
|
|
5
|
-
|
|
6
|
-
This product includes software developed by
|
|
7
|
-
The Apache Software Foundation (http://www.apache.org/).
|
|
8
|
-
|
|
9
|
-
It includes software from other Apache Software Foundation projects,
|
|
10
|
-
including, but not limited to:
|
|
11
|
-
- Apache Lucene Java
|
|
12
|
-
- Apache Solr
|
|
13
|
-
- Apache Hadoop
|
|
14
|
-
- Apache Commons
|
|
15
|
-
- Apache Spark
|
|
16
|
-
- Apache Flink
|
|
17
|
-
|
|
18
|
-
This product includes software from the SLF4J project
|
|
19
|
-
http://www.slf4j.org/
|
|
20
|
-
Copyright (c) 2004-2016 QOS.ch
|
|
21
|
-
|
|
22
|
-
This product includes software developed by the Indiana University
|
|
23
|
-
Extreme! Lab (http://www.extreme.indiana.edu/).
|
|
24
|
-
Copyright (c) 2002 Extreme! Lab, Indiana University.
|
|
25
|
-
|
|
26
|
-
This product includes a JUnit jar: http://junit.sourceforge.net/
|
|
27
|
-
License: Common Public License - v 1.0 (http://junit.sourceforge.net/cpl-v10.html)
|
|
28
|
-
Copyright (c) 2000-2006, www.hamcrest.org
|
|
29
|
-
|
|
30
|
-
This product includes code from the XStream project (http://xstream.codehaus.org/)
|
|
31
|
-
Copyright (c) 2003-2006, Joe Walnes
|
|
32
|
-
Copyright (c) 2006-2007, XStream Committers
|
|
33
|
-
|
|
34
|
-
This product includes tests written with EasyMock
|
|
35
|
-
Copyright 2001-2007 Tammo Freese (http://www.easymock.org/)
|
|
36
|
-
|
|
37
|
-
This product uses the Breast Cancer Wisconsin (Diagnostic) Dataset from the
|
|
38
|
-
UCI Machine Learning Repository
|
|
39
|
-
[http://www.ics.uci.edu/~mlearn/MLRepository.html,
|
|
40
|
-
http://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Diagnostic)].
|
|
41
|
-
|
qumat-0.0.1.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
qumat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
qumat/amazon_braket_backend.py,sha256=ScyDQ8Y72aZlY6NLSTMipSSdVQlBSQxdqdmNWVjsDys,3808
|
|
3
|
-
qumat/cirq_backend.py,sha256=JvJQ5PkuuUQV7r82np4hrX7LB40QMKnTAkp8LUzdPTc,4333
|
|
4
|
-
qumat/qiskit_backend.py,sha256=E1y_XToEBg2j7avl7uF0I9K56NP1sxsFMesybEHPvNc,4588
|
|
5
|
-
qumat/qumat.py,sha256=wwXSQKkHs3-04SVX3q5KmVjoH5FS55BVYFOB-oebDJ0,4084
|
|
6
|
-
qumat-0.0.1.dist-info/LICENSE,sha256=mOZWuKrFCY0jNSEsQqKeJVtdNV-5pYM5M2NFQNwvwEc,21210
|
|
7
|
-
qumat-0.0.1.dist-info/METADATA,sha256=ntG-ECNJ4-5bq_-P1gyd8aif4J9wA20ot3ckNGYqwr0,2933
|
|
8
|
-
qumat-0.0.1.dist-info/NOTICE,sha256=zsYrv3b9xDTJ27OZD5t9C-TX3d28uIzXxOgnWPC0wcE,1498
|
|
9
|
-
qumat-0.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
10
|
-
qumat-0.0.1.dist-info/RECORD,,
|