quantsmind 1.0.0__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.
- quantsmind-1.0.0/.editorconfig +22 -0
- quantsmind-1.0.0/.gitattributes +18 -0
- quantsmind-1.0.0/.gitignore +63 -0
- quantsmind-1.0.0/.pre-commit-config.yaml +27 -0
- quantsmind-1.0.0/ARCHITECTURE_DIAGRAM.md +191 -0
- quantsmind-1.0.0/CHANGELOG.md +117 -0
- quantsmind-1.0.0/CODE_OF_CONDUCT.md +54 -0
- quantsmind-1.0.0/CONTRIBUTING.md +62 -0
- quantsmind-1.0.0/LICENSE +99 -0
- quantsmind-1.0.0/PKG-INFO +175 -0
- quantsmind-1.0.0/README.md +142 -0
- quantsmind-1.0.0/ROADMAP.md +71 -0
- quantsmind-1.0.0/SECURITY.md +35 -0
- quantsmind-1.0.0/api_manifest.json +912 -0
- quantsmind-1.0.0/architecture/README.md +7 -0
- quantsmind-1.0.0/architecture/decisions/0001-foundation-ontology.md +25 -0
- quantsmind-1.0.0/architecture/decisions/0002-foundation-full-specification.md +46 -0
- quantsmind-1.0.0/examples/README.md +6 -0
- quantsmind-1.0.0/mkdocs.yml +85 -0
- quantsmind-1.0.0/pyproject.toml +123 -0
- quantsmind-1.0.0/requirements-dev.txt +10 -0
- quantsmind-1.0.0/src/quantsmind/__init__.py +265 -0
- quantsmind-1.0.0/src/quantsmind/ai/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/ai/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/ai_reasoning/__init__.py +31 -0
- quantsmind-1.0.0/src/quantsmind/ai_reasoning/algorithm_advisor.py +345 -0
- quantsmind-1.0.0/src/quantsmind/ai_reasoning/formula_generator.py +333 -0
- quantsmind-1.0.0/src/quantsmind/ai_reasoning/math_reasoning_agent.py +347 -0
- quantsmind-1.0.0/src/quantsmind/ai_reasoning/proof_assistant.py +337 -0
- quantsmind-1.0.0/src/quantsmind/algebra/__init__.py +29 -0
- quantsmind-1.0.0/src/quantsmind/algebra/linear_algebra.py +1027 -0
- quantsmind-1.0.0/src/quantsmind/algebra/polynomial.py +458 -0
- quantsmind-1.0.0/src/quantsmind/api/__init__.py +46 -0
- quantsmind-1.0.0/src/quantsmind/api/endpoints.py +316 -0
- quantsmind-1.0.0/src/quantsmind/api/models.py +233 -0
- quantsmind-1.0.0/src/quantsmind/astronomy/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/astronomy/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/biology/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/biology/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/calculus/__init__.py +28 -0
- quantsmind-1.0.0/src/quantsmind/calculus/differentiation.py +287 -0
- quantsmind-1.0.0/src/quantsmind/calculus/integration.py +303 -0
- quantsmind-1.0.0/src/quantsmind/calculus/ode_solver.py +350 -0
- quantsmind-1.0.0/src/quantsmind/chemistry/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/chemistry/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/compiler/README.md +26 -0
- quantsmind-1.0.0/src/quantsmind/compiler/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/config/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/config/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/core/README.md +25 -0
- quantsmind-1.0.0/src/quantsmind/core/__init__.py +29 -0
- quantsmind-1.0.0/src/quantsmind/core/equation.py +243 -0
- quantsmind-1.0.0/src/quantsmind/core/expression.py +259 -0
- quantsmind-1.0.0/src/quantsmind/core/expression_engine.py +287 -0
- quantsmind-1.0.0/src/quantsmind/core/formula.py +209 -0
- quantsmind-1.0.0/src/quantsmind/core/math_object.py +242 -0
- quantsmind-1.0.0/src/quantsmind/core/parameter.py +306 -0
- quantsmind-1.0.0/src/quantsmind/core/variable.py +286 -0
- quantsmind-1.0.0/src/quantsmind/cosmology/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/cosmology/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/datasets/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/datasets/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/exceptions/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/exceptions/__init__.py +58 -0
- quantsmind-1.0.0/src/quantsmind/finance/README.md +25 -0
- quantsmind-1.0.0/src/quantsmind/finance/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/finance/math/__init__.py +31 -0
- quantsmind-1.0.0/src/quantsmind/finance/math/monte_carlo_finance.py +443 -0
- quantsmind-1.0.0/src/quantsmind/finance/math/option_pricer.py +465 -0
- quantsmind-1.0.0/src/quantsmind/finance/math/portfolio_math.py +398 -0
- quantsmind-1.0.0/src/quantsmind/finance/math/risk_engine.py +351 -0
- quantsmind-1.0.0/src/quantsmind/foundation/README.md +25 -0
- quantsmind-1.0.0/src/quantsmind/foundation/__init__.py +92 -0
- quantsmind-1.0.0/src/quantsmind/foundation/attribute.py +608 -0
- quantsmind-1.0.0/src/quantsmind/foundation/behaviour.py +412 -0
- quantsmind-1.0.0/src/quantsmind/foundation/constants.py +268 -0
- quantsmind-1.0.0/src/quantsmind/foundation/constraint.py +445 -0
- quantsmind-1.0.0/src/quantsmind/foundation/entity.py +457 -0
- quantsmind-1.0.0/src/quantsmind/foundation/enums.py +683 -0
- quantsmind-1.0.0/src/quantsmind/foundation/event.py +386 -0
- quantsmind-1.0.0/src/quantsmind/foundation/exceptions.py +1106 -0
- quantsmind-1.0.0/src/quantsmind/foundation/factories.py +441 -0
- quantsmind-1.0.0/src/quantsmind/foundation/identity.py +634 -0
- quantsmind-1.0.0/src/quantsmind/foundation/interaction.py +454 -0
- quantsmind-1.0.0/src/quantsmind/foundation/interfaces.py +1003 -0
- quantsmind-1.0.0/src/quantsmind/foundation/knowledge.py +453 -0
- quantsmind-1.0.0/src/quantsmind/foundation/lifecycle.py +417 -0
- quantsmind-1.0.0/src/quantsmind/foundation/observation.py +416 -0
- quantsmind-1.0.0/src/quantsmind/foundation/property.py +490 -0
- quantsmind-1.0.0/src/quantsmind/foundation/protocols.py +699 -0
- quantsmind-1.0.0/src/quantsmind/foundation/relationship.py +459 -0
- quantsmind-1.0.0/src/quantsmind/foundation/serializers.py +281 -0
- quantsmind-1.0.0/src/quantsmind/foundation/space.py +459 -0
- quantsmind-1.0.0/src/quantsmind/foundation/state.py +608 -0
- quantsmind-1.0.0/src/quantsmind/foundation/system.py +486 -0
- quantsmind-1.0.0/src/quantsmind/foundation/time.py +496 -0
- quantsmind-1.0.0/src/quantsmind/foundation/transformation.py +438 -0
- quantsmind-1.0.0/src/quantsmind/foundation/types.py +371 -0
- quantsmind-1.0.0/src/quantsmind/foundation/validators.py +260 -0
- quantsmind-1.0.0/src/quantsmind/io/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/io/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/__init__.py +364 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/constants.py +295 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/__init__.py +42 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/dataset.py +375 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/dataset_registry.py +234 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/graph_dataset.py +381 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/image_dataset.py +328 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/quantum_dataset.py +315 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/scientific_dataset.py +344 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/simulation_dataset.py +352 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/dataset/tensor_dataset.py +399 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/api_source.py +315 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/database_source.py +321 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/datasource.py +270 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/file_source.py +281 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/datasource/stream_source.py +288 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/enums.py +419 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/__init__.py +36 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/evidence.py +258 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/fact.py +306 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/hypothesis.py +344 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/law.py +333 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/rule.py +372 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/evidence/theory.py +365 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/exceptions.py +422 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/factories.py +496 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/dependency_graph.py +423 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/entity_graph.py +293 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/knowledge_graph.py +419 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/relationship_graph.py +314 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/graph/semantic_graph.py +351 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/indexing/__init__.py +27 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/indexing/graph_index.py +304 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/indexing/index.py +278 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/indexing/semantic_index.py +314 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/interfaces.py +1215 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/lineage/__init__.py +27 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/lineage/lineage.py +384 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/lineage/lineage_edge.py +275 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/lineage/lineage_node.py +239 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/measurement/__init__.py +24 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/measurement/measurement_record.py +316 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/measurement/measurement_repository.py +312 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/__init__.py +40 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/annotation.py +190 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/attribute.py +345 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/label.py +364 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/metadata.py +275 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/property.py +390 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/metadata/tag.py +337 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/observation/__init__.py +30 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/observation/observation.py +261 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/observation/observation_record.py +243 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/observation/observation_session.py +311 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/observation/observation_store.py +308 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/__init__.py +38 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/category.py +472 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/concept.py +268 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/ontology.py +410 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/semantic_relation.py +512 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/taxonomy.py +318 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/ontology/vocabulary.py +320 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/protocols.py +567 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/__init__.py +44 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/audit.py +519 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/creator.py +372 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/experiment.py +444 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/history.py +472 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/provenance.py +258 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/source.py +339 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/provenance/workflow.py +395 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/__init__.py +36 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/completeness.py +262 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/consistency.py +231 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/freshness.py +292 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/quality_rule.py +265 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/uniqueness.py +284 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/quality/validity.py +260 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/explanation_engine.py +301 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/inference_engine.py +364 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/prediction_engine.py +361 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/reasoner.py +223 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/reasoning/rule_engine.py +344 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/repository/__init__.py +24 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/repository/knowledge_repository.py +389 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/repository/repository.py +248 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/schema/__init__.py +31 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/schema/datatype.py +405 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/schema/field.py +289 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/schema/schema.py +284 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/schema/schema_validator.py +264 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/search/__init__.py +30 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/search/graph_search.py +334 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/search/search_engine.py +234 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/search/semantic_search.py +293 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/search/similarity_search.py +290 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/serialization/__init__.py +22 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/serialization/serializers.py +441 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/transformation/__init__.py +31 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/transformation/converter.py +399 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/transformation/mapper.py +266 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/transformation/pipeline.py +248 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/transformation/transformation.py +242 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/types.py +377 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/validation/__init__.py +22 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/validation/validators.py +386 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/versioning/__init__.py +22 -0
- quantsmind-1.0.0/src/quantsmind/knowledge/versioning/version.py +504 -0
- quantsmind-1.0.0/src/quantsmind/logging/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/logging/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/math/README.md +25 -0
- quantsmind-1.0.0/src/quantsmind/math/__init__.py +95 -0
- quantsmind-1.0.0/src/quantsmind/math/algebra/__init__.py +237 -0
- quantsmind-1.0.0/src/quantsmind/math/calculus/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/calculus/__init__.py +418 -0
- quantsmind-1.0.0/src/quantsmind/math/complex/__init__.py +543 -0
- quantsmind-1.0.0/src/quantsmind/math/complex_numbers/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/complex_numbers/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/math/constants.py +168 -0
- quantsmind-1.0.0/src/quantsmind/math/exceptions.py +246 -0
- quantsmind-1.0.0/src/quantsmind/math/geometry/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/geometry/__init__.py +794 -0
- quantsmind-1.0.0/src/quantsmind/math/graph/__init__.py +560 -0
- quantsmind-1.0.0/src/quantsmind/math/graph_theory/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/graph_theory/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/math/linear_algebra/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/linear_algebra/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/math/linear_algebra/factory.py +291 -0
- quantsmind-1.0.0/src/quantsmind/math/linear_algebra/matrix.py +736 -0
- quantsmind-1.0.0/src/quantsmind/math/linear_algebra/vector.py +580 -0
- quantsmind-1.0.0/src/quantsmind/math/numerical/__init__.py +445 -0
- quantsmind-1.0.0/src/quantsmind/math/numerical_methods/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/numerical_methods/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/math/operators/__init__.py +419 -0
- quantsmind-1.0.0/src/quantsmind/math/optimization/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/optimization/__init__.py +376 -0
- quantsmind-1.0.0/src/quantsmind/math/probability/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/probability/__init__.py +647 -0
- quantsmind-1.0.0/src/quantsmind/math/random/__init__.py +337 -0
- quantsmind-1.0.0/src/quantsmind/math/statistics/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/statistics/__init__.py +602 -0
- quantsmind-1.0.0/src/quantsmind/math/tensor/__init__.py +550 -0
- quantsmind-1.0.0/src/quantsmind/math/tensor_algebra/README.md +15 -0
- quantsmind-1.0.0/src/quantsmind/math/tensor_algebra/__init__.py +10 -0
- quantsmind-1.0.0/src/quantsmind/math/topology/__init__.py +282 -0
- quantsmind-1.0.0/src/quantsmind/math/transforms/__init__.py +259 -0
- quantsmind-1.0.0/src/quantsmind/math/types.py +178 -0
- quantsmind-1.0.0/src/quantsmind/math/utilities.py +535 -0
- quantsmind-1.0.0/src/quantsmind/math/validation.py +386 -0
- quantsmind-1.0.0/src/quantsmind/ml_math/__init__.py +62 -0
- quantsmind-1.0.0/src/quantsmind/ml_math/activation_functions.py +414 -0
- quantsmind-1.0.0/src/quantsmind/ml_math/feature_transformation.py +585 -0
- quantsmind-1.0.0/src/quantsmind/ml_math/loss_functions.py +566 -0
- quantsmind-1.0.0/src/quantsmind/numerical/__init__.py +34 -0
- quantsmind-1.0.0/src/quantsmind/numerical/numerical_engine.py +517 -0
- quantsmind-1.0.0/src/quantsmind/optimization/README.md +26 -0
- quantsmind-1.0.0/src/quantsmind/optimization/__init__.py +42 -0
- quantsmind-1.0.0/src/quantsmind/optimization/advanced_optimizer.py +426 -0
- quantsmind-1.0.0/src/quantsmind/optimization/evolutionary_optimizer.py +433 -0
- quantsmind-1.0.0/src/quantsmind/optimization/gradient_optimizer.py +410 -0
- quantsmind-1.0.0/src/quantsmind/physics/README.md +25 -0
- quantsmind-1.0.0/src/quantsmind/physics/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/plugins/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/plugins/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/providers/README.md +26 -0
- quantsmind-1.0.0/src/quantsmind/providers/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/quantum/README.md +1529 -0
- quantsmind-1.0.0/src/quantsmind/quantum/__init__.py +769 -0
- quantsmind-1.0.0/src/quantsmind/quantum/_mq.py +55 -0
- quantsmind-1.0.0/src/quantsmind/quantum/benchmark/__init__.py +76 -0
- quantsmind-1.0.0/src/quantsmind/quantum/benchmark/metrics.py +185 -0
- quantsmind-1.0.0/src/quantsmind/quantum/benchmark/models.py +915 -0
- quantsmind-1.0.0/src/quantsmind/quantum/benchmark/runner.py +496 -0
- quantsmind-1.0.0/src/quantsmind/quantum/benchmark/suite.py +243 -0
- quantsmind-1.0.0/src/quantsmind/quantum/bridge.py +113 -0
- quantsmind-1.0.0/src/quantsmind/quantum/circuit_result.py +119 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/__init__.py +35 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/constraint.py +247 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/domain_context.py +74 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/objective.py +141 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/problem.py +210 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/solution.py +141 -0
- quantsmind-1.0.0/src/quantsmind/quantum/core/variable.py +178 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/__init__.py +151 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/_expr.py +102 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/_validation.py +53 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/constraints.py +388 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/context.py +135 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/errors.py +19 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/examples.py +265 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/formulation.py +141 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/mapping.py +269 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/metrics.py +175 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/models.py +398 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/numerics.py +93 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/objectives.py +347 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/optimizer.py +318 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/problem.py +286 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/quality.py +163 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/relationship.py +223 -0
- quantsmind-1.0.0/src/quantsmind/quantum/data/solution.py +395 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/__init__.py +67 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/adapters.py +264 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/assessment.py +389 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/errors.py +44 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/examples.py +103 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/intelligence.py +235 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/plan.py +148 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/registry.py +200 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/result.py +350 -0
- quantsmind-1.0.0/src/quantsmind/quantum/domain/suitability.py +314 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/__init__.py +61 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/classical.py +186 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/comparison.py +250 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/errors.py +67 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/evaluation.py +79 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/executor.py +90 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/hybrid.py +280 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/options.py +113 -0
- quantsmind-1.0.0/src/quantsmind/quantum/execution/quantum.py +254 -0
- quantsmind-1.0.0/src/quantsmind/quantum/experiment.py +197 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/__init__.py +167 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/_expr.py +83 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/budget.py +83 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/constraints.py +474 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/context.py +98 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/errors.py +19 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/examples.py +178 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/formulation.py +127 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/mapping.py +202 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/models.py +467 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/objectives.py +273 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/optimizer.py +496 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/portfolio.py +705 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/portfolio_examples.py +196 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/portfolio_metrics.py +198 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/portfolio_solution.py +442 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/risk.py +243 -0
- quantsmind-1.0.0/src/quantsmind/quantum/finance/weights.py +131 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/__init__.py +74 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/graph_model.py +74 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/mathematical_model.py +118 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/ml_model.py +69 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/optimization_model.py +140 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/simulation_model.py +70 -0
- quantsmind-1.0.0/src/quantsmind/quantum/formulation/statistical_model.py +65 -0
- quantsmind-1.0.0/src/quantsmind/quantum/integration/__init__.py +16 -0
- quantsmind-1.0.0/src/quantsmind/quantum/integration/microquantum.py +292 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/__init__.py +71 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/algorithms.py +307 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/capabilities.py +218 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/classification.py +269 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/plan.py +157 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/recommender.py +895 -0
- quantsmind-1.0.0/src/quantsmind/quantum/intelligence/registry.py +516 -0
- quantsmind-1.0.0/src/quantsmind/quantum/mapping/__init__.py +32 -0
- quantsmind-1.0.0/src/quantsmind/quantum/mapping/ising.py +70 -0
- quantsmind-1.0.0/src/quantsmind/quantum/mapping/mapper.py +170 -0
- quantsmind-1.0.0/src/quantsmind/quantum/mapping/qubo.py +223 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/__init__.py +133 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/_expr.py +117 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/_validation.py +53 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/constraints.py +405 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/context.py +94 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/errors.py +19 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/examples.py +307 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/formulation.py +259 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/mapping.py +318 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/metrics.py +215 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/models.py +462 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/objectives.py +401 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/optimizer.py +390 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/problem.py +373 -0
- quantsmind-1.0.0/src/quantsmind/quantum/ml/solution.py +605 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/__init__.py +80 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/classical.py +230 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/expression.py +493 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/ising.py +285 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/penalties.py +254 -0
- quantsmind-1.0.0/src/quantsmind/quantum/optimization/qubo.py +307 -0
- quantsmind-1.0.0/src/quantsmind/quantum/program.py +138 -0
- quantsmind-1.0.0/src/quantsmind/quantum/result/__init__.py +56 -0
- quantsmind-1.0.0/src/quantsmind/quantum/result/interpretation.py +177 -0
- quantsmind-1.0.0/src/quantsmind/quantum/result/provenance.py +155 -0
- quantsmind-1.0.0/src/quantsmind/quantum/result/result.py +128 -0
- quantsmind-1.0.0/src/quantsmind/quantum/result/result_interpretation.py +1819 -0
- quantsmind-1.0.0/src/quantsmind/quantum/strategy/__init__.py +12 -0
- quantsmind-1.0.0/src/quantsmind/quantum/strategy/selector.py +507 -0
- quantsmind-1.0.0/src/quantsmind/quantum/strategy/strategy.py +50 -0
- quantsmind-1.0.0/src/quantsmind/quantum/workflow/__init__.py +15 -0
- quantsmind-1.0.0/src/quantsmind/quantum/workflow/workflow.py +811 -0
- quantsmind-1.0.0/src/quantsmind/runtime/README.md +26 -0
- quantsmind-1.0.0/src/quantsmind/runtime/__init__.py +115 -0
- quantsmind-1.0.0/src/quantsmind/runtime/cache.py +303 -0
- quantsmind-1.0.0/src/quantsmind/runtime/configuration.py +252 -0
- quantsmind-1.0.0/src/quantsmind/runtime/constants.py +87 -0
- quantsmind-1.0.0/src/quantsmind/runtime/context.py +249 -0
- quantsmind-1.0.0/src/quantsmind/runtime/cpu_resource.py +133 -0
- quantsmind-1.0.0/src/quantsmind/runtime/dispatcher.py +211 -0
- quantsmind-1.0.0/src/quantsmind/runtime/engine.py +264 -0
- quantsmind-1.0.0/src/quantsmind/runtime/enums.py +252 -0
- quantsmind-1.0.0/src/quantsmind/runtime/event.py +192 -0
- quantsmind-1.0.0/src/quantsmind/runtime/event_bus.py +260 -0
- quantsmind-1.0.0/src/quantsmind/runtime/exceptions.py +525 -0
- quantsmind-1.0.0/src/quantsmind/runtime/executor.py +241 -0
- quantsmind-1.0.0/src/quantsmind/runtime/factories.py +215 -0
- quantsmind-1.0.0/src/quantsmind/runtime/gpu_resource.py +150 -0
- quantsmind-1.0.0/src/quantsmind/runtime/interfaces.py +282 -0
- quantsmind-1.0.0/src/quantsmind/runtime/job.py +383 -0
- quantsmind-1.0.0/src/quantsmind/runtime/kernel.py +181 -0
- quantsmind-1.0.0/src/quantsmind/runtime/lifecycle.py +282 -0
- quantsmind-1.0.0/src/quantsmind/runtime/logging.py +182 -0
- quantsmind-1.0.0/src/quantsmind/runtime/memory_resource.py +134 -0
- quantsmind-1.0.0/src/quantsmind/runtime/metrics.py +271 -0
- quantsmind-1.0.0/src/quantsmind/runtime/monitoring.py +311 -0
- quantsmind-1.0.0/src/quantsmind/runtime/pipeline.py +379 -0
- quantsmind-1.0.0/src/quantsmind/runtime/plugin_manager.py +333 -0
- quantsmind-1.0.0/src/quantsmind/runtime/quantum_resource.py +150 -0
- quantsmind-1.0.0/src/quantsmind/runtime/registry.py +258 -0
- quantsmind-1.0.0/src/quantsmind/runtime/resource.py +274 -0
- quantsmind-1.0.0/src/quantsmind/runtime/resource_manager.py +270 -0
- quantsmind-1.0.0/src/quantsmind/runtime/scheduler.py +232 -0
- quantsmind-1.0.0/src/quantsmind/runtime/serializers.py +181 -0
- quantsmind-1.0.0/src/quantsmind/runtime/session.py +307 -0
- quantsmind-1.0.0/src/quantsmind/runtime/settings.py +263 -0
- quantsmind-1.0.0/src/quantsmind/runtime/state_machine.py +291 -0
- quantsmind-1.0.0/src/quantsmind/runtime/storage_resource.py +151 -0
- quantsmind-1.0.0/src/quantsmind/runtime/task.py +383 -0
- quantsmind-1.0.0/src/quantsmind/runtime/telemetry.py +198 -0
- quantsmind-1.0.0/src/quantsmind/runtime/types.py +214 -0
- quantsmind-1.0.0/src/quantsmind/runtime/utils.py +246 -0
- quantsmind-1.0.0/src/quantsmind/runtime/validators.py +254 -0
- quantsmind-1.0.0/src/quantsmind/runtime/workflow.py +427 -0
- quantsmind-1.0.0/src/quantsmind/scientific/__init__.py +187 -0
- quantsmind-1.0.0/src/quantsmind/scientific/constants/__init__.py +28 -0
- quantsmind-1.0.0/src/quantsmind/scientific/constants/astronomical_constants.py +196 -0
- quantsmind-1.0.0/src/quantsmind/scientific/constants/mathematical_constants.py +187 -0
- quantsmind-1.0.0/src/quantsmind/scientific/constants/physical_constants.py +305 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/__init__.py +36 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/cartesian.py +268 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/cylindrical.py +246 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/equatorial.py +257 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/galactic.py +235 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/polar.py +215 -0
- quantsmind-1.0.0/src/quantsmind/scientific/coordinates/spherical.py +247 -0
- quantsmind-1.0.0/src/quantsmind/scientific/dimensions/__init__.py +24 -0
- quantsmind-1.0.0/src/quantsmind/scientific/dimensions/dimension.py +212 -0
- quantsmind-1.0.0/src/quantsmind/scientific/dimensions/dimensional_analysis.py +253 -0
- quantsmind-1.0.0/src/quantsmind/scientific/enums.py +248 -0
- quantsmind-1.0.0/src/quantsmind/scientific/exceptions.py +329 -0
- quantsmind-1.0.0/src/quantsmind/scientific/factories.py +278 -0
- quantsmind-1.0.0/src/quantsmind/scientific/interfaces.py +517 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/accuracy.py +215 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/measurement.py +252 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/precision.py +218 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/tolerance.py +215 -0
- quantsmind-1.0.0/src/quantsmind/scientific/measurements/uncertainty.py +270 -0
- quantsmind-1.0.0/src/quantsmind/scientific/metadata.py +241 -0
- quantsmind-1.0.0/src/quantsmind/scientific/observables/__init__.py +28 -0
- quantsmind-1.0.0/src/quantsmind/scientific/observables/observable.py +212 -0
- quantsmind-1.0.0/src/quantsmind/scientific/observables/observation.py +330 -0
- quantsmind-1.0.0/src/quantsmind/scientific/observables/observer.py +185 -0
- quantsmind-1.0.0/src/quantsmind/scientific/protocols.py +277 -0
- quantsmind-1.0.0/src/quantsmind/scientific/quantities/__init__.py +30 -0
- quantsmind-1.0.0/src/quantsmind/scientific/quantities/quantity.py +288 -0
- quantsmind-1.0.0/src/quantsmind/scientific/quantities/scalar.py +212 -0
- quantsmind-1.0.0/src/quantsmind/scientific/quantities/tensor_quantity.py +282 -0
- quantsmind-1.0.0/src/quantsmind/scientific/quantities/vector_quantity.py +273 -0
- quantsmind-1.0.0/src/quantsmind/scientific/reference_frames/__init__.py +30 -0
- quantsmind-1.0.0/src/quantsmind/scientific/reference_frames/inertial.py +158 -0
- quantsmind-1.0.0/src/quantsmind/scientific/reference_frames/quantum_frame.py +158 -0
- quantsmind-1.0.0/src/quantsmind/scientific/reference_frames/reference_frame.py +180 -0
- quantsmind-1.0.0/src/quantsmind/scientific/reference_frames/rotating.py +176 -0
- quantsmind-1.0.0/src/quantsmind/scientific/scales/__init__.py +27 -0
- quantsmind-1.0.0/src/quantsmind/scientific/scales/linear.py +130 -0
- quantsmind-1.0.0/src/quantsmind/scientific/scales/logarithmic.py +166 -0
- quantsmind-1.0.0/src/quantsmind/scientific/scales/scale.py +260 -0
- quantsmind-1.0.0/src/quantsmind/scientific/serialization/__init__.py +22 -0
- quantsmind-1.0.0/src/quantsmind/scientific/serialization/serializers.py +227 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/duration.py +270 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/epoch.py +216 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/logical_time.py +208 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/simulation_time.py +208 -0
- quantsmind-1.0.0/src/quantsmind/scientific/time/timestamp.py +187 -0
- quantsmind-1.0.0/src/quantsmind/scientific/types.py +143 -0
- quantsmind-1.0.0/src/quantsmind/scientific/units/__init__.py +32 -0
- quantsmind-1.0.0/src/quantsmind/scientific/units/base_unit.py +212 -0
- quantsmind-1.0.0/src/quantsmind/scientific/units/custom_units.py +277 -0
- quantsmind-1.0.0/src/quantsmind/scientific/units/derived_units.py +241 -0
- quantsmind-1.0.0/src/quantsmind/scientific/units/si_units.py +150 -0
- quantsmind-1.0.0/src/quantsmind/scientific/validation/__init__.py +21 -0
- quantsmind-1.0.0/src/quantsmind/scientific/validation/validators.py +269 -0
- quantsmind-1.0.0/src/quantsmind/security/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/security/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/simulation/README.md +26 -0
- quantsmind-1.0.0/src/quantsmind/simulation/__init__.py +25 -0
- quantsmind-1.0.0/src/quantsmind/simulation/simulation_engine.py +634 -0
- quantsmind-1.0.0/src/quantsmind/statistics/__init__.py +41 -0
- quantsmind-1.0.0/src/quantsmind/statistics/distribution_engine.py +836 -0
- quantsmind-1.0.0/src/quantsmind/statistics/probability_engine.py +301 -0
- quantsmind-1.0.0/src/quantsmind/statistics/statistical_analyzer.py +436 -0
- quantsmind-1.0.0/src/quantsmind/telemetry/README.md +24 -0
- quantsmind-1.0.0/src/quantsmind/telemetry/__init__.py +9 -0
- quantsmind-1.0.0/src/quantsmind/utils/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/utils/__init__.py +33 -0
- quantsmind-1.0.0/src/quantsmind/utils/helpers.py +187 -0
- quantsmind-1.0.0/src/quantsmind/visualization/README.md +23 -0
- quantsmind-1.0.0/src/quantsmind/visualization/__init__.py +17 -0
- quantsmind-1.0.0/src/quantsmind/visualization/plotter.py +388 -0
- quantsmind-1.0.0/tests/README.md +20 -0
- quantsmind-1.0.0/tests/integration/README.md +5 -0
- quantsmind-1.0.0/tests/integration/ai/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/astronomy/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/biology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/chemistry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/compiler/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/config/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/core/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/cosmology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/datasets/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/exceptions/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/finance/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/foundation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/io/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/logging/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/math/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/optimization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/physics/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/plugins/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/providers/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/quantum/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/runtime/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/security/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/simulation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/telemetry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/utils/.gitkeep +1 -0
- quantsmind-1.0.0/tests/integration/visualization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/README.md +5 -0
- quantsmind-1.0.0/tests/performance/ai/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/astronomy/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/biology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/chemistry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/compiler/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/config/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/core/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/cosmology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/datasets/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/exceptions/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/finance/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/foundation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/io/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/logging/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/math/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/optimization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/physics/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/plugins/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/providers/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/quantum/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/runtime/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/security/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/simulation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/telemetry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/utils/.gitkeep +1 -0
- quantsmind-1.0.0/tests/performance/visualization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/README.md +5 -0
- quantsmind-1.0.0/tests/regression/ai/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/astronomy/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/biology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/chemistry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/compiler/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/config/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/core/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/cosmology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/datasets/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/exceptions/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/finance/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/foundation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/io/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/logging/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/math/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/optimization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/physics/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/plugins/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/providers/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/quantum/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/runtime/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/security/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/simulation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/telemetry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/utils/.gitkeep +1 -0
- quantsmind-1.0.0/tests/regression/visualization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/README.md +5 -0
- quantsmind-1.0.0/tests/unit/ai/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/astronomy/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/biology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/chemistry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/compiler/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/config/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/core/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/cosmology/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/datasets/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/exceptions/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/finance/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/foundation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/foundation/test_entity.py +24 -0
- quantsmind-1.0.0/tests/unit/foundation/test_enums.py +90 -0
- quantsmind-1.0.0/tests/unit/foundation/test_exceptions.py +72 -0
- quantsmind-1.0.0/tests/unit/io/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/logging/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/math/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/optimization/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/physics/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/plugins/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/providers/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/quantum/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/quantum/test_algorithm.py +42 -0
- quantsmind-1.0.0/tests/unit/quantum/test_benchmark_qmq05.py +616 -0
- quantsmind-1.0.0/tests/unit/quantum/test_bridge.py +77 -0
- quantsmind-1.0.0/tests/unit/quantum/test_core.py +285 -0
- quantsmind-1.0.0/tests/unit/quantum/test_data_qmq09.py +1335 -0
- quantsmind-1.0.0/tests/unit/quantum/test_domain_qmq11.py +573 -0
- quantsmind-1.0.0/tests/unit/quantum/test_experiment.py +85 -0
- quantsmind-1.0.0/tests/unit/quantum/test_finance_qmq07.py +1102 -0
- quantsmind-1.0.0/tests/unit/quantum/test_formulation.py +134 -0
- quantsmind-1.0.0/tests/unit/quantum/test_hybrid_execution_qmq04.py +698 -0
- quantsmind-1.0.0/tests/unit/quantum/test_intelligence_qmq03.py +663 -0
- quantsmind-1.0.0/tests/unit/quantum/test_mapping.py +100 -0
- quantsmind-1.0.0/tests/unit/quantum/test_mapping_qmq02.py +138 -0
- quantsmind-1.0.0/tests/unit/quantum/test_ml_qmq10.py +928 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optimization_classical.py +135 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optimization_expression.py +129 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optimization_ising.py +165 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optimization_penalties.py +191 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optimization_qubo.py +180 -0
- quantsmind-1.0.0/tests/unit/quantum/test_optional_dependency.py +100 -0
- quantsmind-1.0.0/tests/unit/quantum/test_portfolio_qmq08.py +880 -0
- quantsmind-1.0.0/tests/unit/quantum/test_program.py +69 -0
- quantsmind-1.0.0/tests/unit/quantum/test_qaoa_integration.py +104 -0
- quantsmind-1.0.0/tests/unit/quantum/test_release_qmq12.py +238 -0
- quantsmind-1.0.0/tests/unit/quantum/test_result.py +111 -0
- quantsmind-1.0.0/tests/unit/quantum/test_result_interpretation_qmq06.py +676 -0
- quantsmind-1.0.0/tests/unit/quantum/test_strategy.py +137 -0
- quantsmind-1.0.0/tests/unit/quantum/test_workflow.py +156 -0
- quantsmind-1.0.0/tests/unit/quantum/test_workflow_qmq02.py +136 -0
- quantsmind-1.0.0/tests/unit/runtime/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/security/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/simulation/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/telemetry/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/test_package.py +66 -0
- quantsmind-1.0.0/tests/unit/utils/.gitkeep +1 -0
- quantsmind-1.0.0/tests/unit/visualization/.gitkeep +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
charset = utf-8
|
|
5
|
+
end_of_line = lf
|
|
6
|
+
insert_final_newline = true
|
|
7
|
+
trim_trailing_whitespace = true
|
|
8
|
+
indent_style = space
|
|
9
|
+
indent_size = 4
|
|
10
|
+
|
|
11
|
+
[*.py]
|
|
12
|
+
indent_size = 4
|
|
13
|
+
max_line_length = 100
|
|
14
|
+
|
|
15
|
+
[*.{yml,yaml,json,toml}]
|
|
16
|
+
indent_size = 2
|
|
17
|
+
|
|
18
|
+
[*.md]
|
|
19
|
+
trim_trailing_whitespace = false
|
|
20
|
+
|
|
21
|
+
[Makefile]
|
|
22
|
+
indent_style = tab
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Normalize line endings
|
|
2
|
+
* text=auto eol=lf
|
|
3
|
+
|
|
4
|
+
*.py text diff=python
|
|
5
|
+
*.md text
|
|
6
|
+
*.toml text
|
|
7
|
+
*.yml text
|
|
8
|
+
*.yaml text
|
|
9
|
+
*.json text
|
|
10
|
+
|
|
11
|
+
# Binary assets
|
|
12
|
+
*.png binary
|
|
13
|
+
*.jpg binary
|
|
14
|
+
*.jpeg binary
|
|
15
|
+
*.gif binary
|
|
16
|
+
*.pdf binary
|
|
17
|
+
|
|
18
|
+
# Mark generated/vendored paths as not-user-editable in diffs (none yet)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
build/
|
|
8
|
+
dist/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
.eggs/
|
|
11
|
+
|
|
12
|
+
# Virtual environments
|
|
13
|
+
.venv/
|
|
14
|
+
venv/
|
|
15
|
+
env/
|
|
16
|
+
|
|
17
|
+
# Separate Tauri/Studio development project (not part of the SDK)
|
|
18
|
+
quantsmind-db/
|
|
19
|
+
|
|
20
|
+
# Testing / coverage
|
|
21
|
+
.pytest_cache/
|
|
22
|
+
.mypy_cache/
|
|
23
|
+
.ruff_cache/
|
|
24
|
+
.coverage
|
|
25
|
+
.coverage.*
|
|
26
|
+
htmlcov/
|
|
27
|
+
coverage.xml
|
|
28
|
+
|
|
29
|
+
# IDE
|
|
30
|
+
.vscode/
|
|
31
|
+
.idea/
|
|
32
|
+
*.swp
|
|
33
|
+
|
|
34
|
+
# OS
|
|
35
|
+
.DS_Store
|
|
36
|
+
Thumbs.db
|
|
37
|
+
|
|
38
|
+
# Environment / secrets
|
|
39
|
+
.env
|
|
40
|
+
.env.*
|
|
41
|
+
*.local
|
|
42
|
+
|
|
43
|
+
# Build artifacts
|
|
44
|
+
*.log
|
|
45
|
+
.cache/
|
|
46
|
+
site/
|
|
47
|
+
|
|
48
|
+
# Dependency / build trees (never track)
|
|
49
|
+
node_modules/
|
|
50
|
+
target/
|
|
51
|
+
dist-newstyle/
|
|
52
|
+
|
|
53
|
+
# Analysis scratch output (local lint/type runs)
|
|
54
|
+
mypy_output.txt
|
|
55
|
+
mypy_after*.txt
|
|
56
|
+
ruff_output.txt
|
|
57
|
+
ruff_after.txt
|
|
58
|
+
ruff_after*.txt
|
|
59
|
+
ruff_current.txt
|
|
60
|
+
ruff_final.txt
|
|
61
|
+
ruff_fix*.txt
|
|
62
|
+
ruff_new.txt
|
|
63
|
+
test_unittmp.txt
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
3
|
+
rev: v0.6.9
|
|
4
|
+
hooks:
|
|
5
|
+
- id: ruff
|
|
6
|
+
args: [--fix]
|
|
7
|
+
- id: ruff-format
|
|
8
|
+
|
|
9
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
10
|
+
rev: v1.11.2
|
|
11
|
+
hooks:
|
|
12
|
+
- id: mypy
|
|
13
|
+
additional_dependencies: []
|
|
14
|
+
args: [--strict]
|
|
15
|
+
files: ^src/
|
|
16
|
+
|
|
17
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
18
|
+
rev: v4.6.0
|
|
19
|
+
hooks:
|
|
20
|
+
- id: trailing-whitespace
|
|
21
|
+
- id: end-of-file-fixer
|
|
22
|
+
- id: check-yaml
|
|
23
|
+
- id: check-toml
|
|
24
|
+
- id: check-added-large-files
|
|
25
|
+
- id: check-merge-conflict
|
|
26
|
+
- id: mixed-line-ending
|
|
27
|
+
args: [--fix=lf]
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# QuantsMind SDK Architecture Diagram
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
QuantsMind SDK is a universal scientific computing framework built on a single first-principle model: **A System is composed of Entities**. The current version (R0.1.0) is architecture-only, defining interfaces without implementations.
|
|
6
|
+
|
|
7
|
+
## High-Level Architecture
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
11
|
+
│ QuantsMind SDK (R0.1.0) │
|
|
12
|
+
│ Architecture-Only Foundation Layer │
|
|
13
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Package Dependency Layers
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
20
|
+
│ LAYER 10: Cross-Cutting │
|
|
21
|
+
│ visualization │ datasets │ plugins │ telemetry │
|
|
22
|
+
│ (depend on lower layers only, never on domain packages) │
|
|
23
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
24
|
+
│
|
|
25
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
26
|
+
│ LAYER 9: Domain Packages │
|
|
27
|
+
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
28
|
+
│ │ quantum │ │ physics │ │ chemistry│ │ biology │ │ astronomy│ │
|
|
29
|
+
│ │ (+runtime│ │ │ │ → │ │ → │ │ → │ │
|
|
30
|
+
│ │ compiler│ │ │ │ physics) │ │ chemistry│ │ physics) │ │
|
|
31
|
+
│ │ providers│ │ │ │ │ │ │ │ │ │
|
|
32
|
+
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
|
|
33
|
+
│ ┌──────────┐ ┌──────────┐ │
|
|
34
|
+
│ │cosmology │ │ ai │ │
|
|
35
|
+
│ │ → │ │ │ │
|
|
36
|
+
│ │astronomy │ │ │ │
|
|
37
|
+
│ │ physics│ │ │ │
|
|
38
|
+
│ └──────────┘ └──────────┘ │
|
|
39
|
+
│ ┌──────────┐ │
|
|
40
|
+
│ │ finance │ │
|
|
41
|
+
│ │ → │ │
|
|
42
|
+
│ │ math, │ │
|
|
43
|
+
│ │optimiz., │ │
|
|
44
|
+
│ │ ai │ │
|
|
45
|
+
│ └──────────┘ │
|
|
46
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
47
|
+
│
|
|
48
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
49
|
+
│ LAYER 8: Simulation │
|
|
50
|
+
│ simulation (depends on foundation, core, math) │
|
|
51
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
52
|
+
│
|
|
53
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
54
|
+
│ LAYER 7: Optimization │
|
|
55
|
+
│ optimization (depends on math, foundation, exceptions) │
|
|
56
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
57
|
+
│
|
|
58
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
59
|
+
│ LAYER 6: Execution Model │
|
|
60
|
+
│ runtime │ compiler │ providers │
|
|
61
|
+
│ (depend on core, foundation, exceptions) │
|
|
62
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
63
|
+
│
|
|
64
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
65
|
+
│ LAYER 5: Mathematics │
|
|
66
|
+
│ math (linear algebra, tensors, geometry, probability, statistics, │
|
|
67
|
+
│ calculus, optimization primitives, graph theory, complex numbers, │
|
|
68
|
+
│ numerical methods) │
|
|
69
|
+
│ (depends on foundation, exceptions) │
|
|
70
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
71
|
+
│
|
|
72
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
73
|
+
│ LAYER 4: Core │
|
|
74
|
+
│ core (shared abstractions: registries, contexts, base containers) │
|
|
75
|
+
│ (depends on foundation, exceptions) │
|
|
76
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
77
|
+
│
|
|
78
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
79
|
+
│ LAYER 3: Foundation │
|
|
80
|
+
│ foundation (universal ontology: Entity, System, State, Interaction, ...) │
|
|
81
|
+
│ (depends only on exceptions) │
|
|
82
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
83
|
+
│
|
|
84
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
85
|
+
│ LAYER 2: Infrastructure │
|
|
86
|
+
│ config │ io │ security │
|
|
87
|
+
│ (depend only on layer 1) │
|
|
88
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
89
|
+
│
|
|
90
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
91
|
+
│ LAYER 1: Base Utilities │
|
|
92
|
+
│ exceptions │ utils │ logging │
|
|
93
|
+
│ (no internal dependencies) │
|
|
94
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Foundation Ontology (The Core Model)
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
101
|
+
│ Foundation Ontology │
|
|
102
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
103
|
+
│ │ Entity (atomic unit) │ │
|
|
104
|
+
│ │ ├── Identity (unique identifier) │ │
|
|
105
|
+
│ │ ├── Property (named characteristics) │ │
|
|
106
|
+
│ │ ├── Attribute (typed values) │ │
|
|
107
|
+
│ │ ├── State (current condition) │ │
|
|
108
|
+
│ │ ├── Behaviour (actions/responses) │ │
|
|
109
|
+
│ │ ├── Relationship (connections to other entities) │ │
|
|
110
|
+
│ │ ├── Constraint (rules/limitations) │ │
|
|
111
|
+
│ │ └── Lifecycle (creation/evolution/destruction) │ │
|
|
112
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
113
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
114
|
+
│ │ System (collection of entities) │ │
|
|
115
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
116
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
117
|
+
│ │ Interaction (how entities affect each other) │ │
|
|
118
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
119
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
120
|
+
│ │ Space & Time (context for evolution) │ │
|
|
121
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
122
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
123
|
+
│ │ Event (discrete occurrences) │ │
|
|
124
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
125
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
126
|
+
│ │ Observation (capturing evolution) │ │
|
|
127
|
+
│ │ └── Knowledge (derived from observations) │ │
|
|
128
|
+
│ │ └── Prediction (anticipating future states) │ │
|
|
129
|
+
│ │ └── Decision (choosing actions) │ │
|
|
130
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
131
|
+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
|
|
132
|
+
│ │ Transformation (state changes) │ │
|
|
133
|
+
│ └────────────────────────────────────────────────────────────────────────┘ │
|
|
134
|
+
└──────────────────────────────────────────────────────────────────────────────┘
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Key Design Principles
|
|
138
|
+
|
|
139
|
+
1. **Composition over Inheritance**: Systems are composed of Entities and Relationships rather than deep class hierarchies
|
|
140
|
+
|
|
141
|
+
2. **Vendor Independence**: `providers` package isolates all hardware/cloud vendor specifics behind stable contracts
|
|
142
|
+
|
|
143
|
+
3. **Interfaces before Implementations**: R0.1.0 ships only abstract contracts; concrete numerical/algorithmic implementations are future releases
|
|
144
|
+
|
|
145
|
+
4. **Universal Ontology**: All domain packages (quantum, physics, chemistry, biology, astronomy, cosmology, finance, AI) specialize the same foundation ontology instead of reinventing their own
|
|
146
|
+
|
|
147
|
+
## Domain Package Specialization
|
|
148
|
+
|
|
149
|
+
Each domain package specializes the foundation ontology:
|
|
150
|
+
|
|
151
|
+
- **quantum**: Thin integration layer over MicroQuantum (QuantumProgram, QuantumExperiment, QuantumResult, algorithm delegation); engine concepts (Qubit, Circuit, Gate, Operator, Hamiltonian, Measurement, Noise, Statevector) are owned by MicroQuantum
|
|
152
|
+
- **physics**: Physical systems domain model
|
|
153
|
+
- **chemistry**: Molecular/chemical systems domain model (depends on physics)
|
|
154
|
+
- **biology**: Biological systems domain model (depends on chemistry)
|
|
155
|
+
- **astronomy**: Astronomical systems domain model (depends on physics)
|
|
156
|
+
- **cosmology**: Universe-scale structure/evolution domain model (depends on astronomy, physics)
|
|
157
|
+
- **finance**: Quantitative finance domain model (depends on math, optimization, ai)
|
|
158
|
+
- **ai**: AI/ML domain model
|
|
159
|
+
|
|
160
|
+
## Repository Structure
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
quantsmind-sdk/
|
|
164
|
+
├── src/quantsmind/ # 23 installable packages (architecture-only)
|
|
165
|
+
├── docs/ # Architecture, developer & contribution docs
|
|
166
|
+
├── architecture/ # Architecture Decision Records (ADRs)
|
|
167
|
+
├── research/ # Exploratory notes (not public API)
|
|
168
|
+
├── examples/ # Usage examples (shape-only in R0.1.0)
|
|
169
|
+
├── tutorials/ # Onboarding material
|
|
170
|
+
├── tests/ # Unit / integration / regression / performance
|
|
171
|
+
├── benchmarks/ # Long-running performance tracking
|
|
172
|
+
├── scripts/ # Developer & CI utility scripts
|
|
173
|
+
├── configs/ # Default non-secret configuration
|
|
174
|
+
├── assets/ # Docs/branding static assets
|
|
175
|
+
├── tools/ # Internal dev tooling (not shipped)
|
|
176
|
+
└── .github/ # CI workflows, issue/PR templates
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Current Status: R0.1.0
|
|
180
|
+
|
|
181
|
+
- **No scientific algorithms**: Contains no quantum, AI, optimization, or simulation algorithms
|
|
182
|
+
- **Architecture-only**: Defines complete package layout, public interface contracts, and documentation standards
|
|
183
|
+
- **All abstract**: Every symbol is an abstract interface (ABC with NotImplementedError)
|
|
184
|
+
- **Future implementations**: Concrete numerical/algorithmic implementations planned for future releases (see ROADMAP.md)
|
|
185
|
+
|
|
186
|
+
## Dependency Rules (Hard Constraints)
|
|
187
|
+
|
|
188
|
+
- No circular imports between packages, ever
|
|
189
|
+
- Domain packages never import each other except via explicit documented arrows
|
|
190
|
+
- Only `providers` may reference vendor-specific SDKs, and only behind optional extras in pyproject.toml
|
|
191
|
+
- Lower layers never depend on higher layers
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2026-09-13
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **QuantsMind Quantum 1.0.0 — Stable release** (release hardening / QMQ-12):
|
|
12
|
+
the first stable release of the domain-oriented quantum intelligence SDK.
|
|
13
|
+
- Public API freeze for 1.0.0: `api_manifest.json` machine-readable baseline
|
|
14
|
+
(117 public modules, 669 public symbols) generated by
|
|
15
|
+
`scripts/generate_api_manifest.py` and verified by the release tests.
|
|
16
|
+
- Release-hardening tests (`tests/unit/quantum/test_release_qmq12.py`):
|
|
17
|
+
single authoritative version, package metadata, `__all__` integrity across
|
|
18
|
+
every public module, API-manifest equality against the live import surface,
|
|
19
|
+
representative serialization round-trips, canonical documented finance
|
|
20
|
+
values, honest blocked-MicroQuantum behavior, and stable-release README
|
|
21
|
+
language.
|
|
22
|
+
- Installation & quick-start documentation in the quantum README
|
|
23
|
+
(`pip install quantsmind`, optional `pip install "quantsmind[quantum]"`).
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- Version raised to **1.0.0** (single authoritative source: `pyproject.toml`
|
|
27
|
+
and `quantsmind.__version__`); classifier `Development Status :: 5 -
|
|
28
|
+
Production/Stable`.
|
|
29
|
+
- Optional MicroQuantum extra pinned to the tested engine series
|
|
30
|
+
(`microquantum>=0.4.0,<0.5.0`), matching the published PyPI releases.
|
|
31
|
+
- CI lint/type-check scopes aligned with the release source tree
|
|
32
|
+
(`src/quantsmind/quantum`).
|
|
33
|
+
- Quantum README status is now "QuantsMind Quantum 1.0.0 — Stable"; the
|
|
34
|
+
R0.1.0 architecture-only status in the root README is historical.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
- Corrupted non-ASCII byte sequence in the `pyproject.toml` description that
|
|
38
|
+
broke strict TOML parsing.
|
|
39
|
+
- Packaging hardening: lean sdist (excludes local-only/dev trees such as
|
|
40
|
+
`venv`, `dist`, `quantsmind-db`, scratch capture files).
|
|
41
|
+
|
|
42
|
+
### Notes
|
|
43
|
+
- The full QMQ-01..QMQ-11 capability history is preserved below and in
|
|
44
|
+
`src/quantsmind/quantum/README.md`.
|
|
45
|
+
|
|
46
|
+
## [R0.2.0] - 2026-07-29
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
- Full Foundation Package specification at
|
|
50
|
+
`docs/foundation-specification/`: module descriptions for all 26
|
|
51
|
+
`foundation` modules; complete class specifications (attributes,
|
|
52
|
+
properties, behaviors, method contracts, private helpers, lifecycle,
|
|
53
|
+
events, exceptions, interfaces, validation, serialization, thread
|
|
54
|
+
safety, logging, metrics, tests, documentation) for `Entity`,
|
|
55
|
+
`System`, `State`, `Interaction`, and the 13 supporting concept
|
|
56
|
+
classes.
|
|
57
|
+
- Nine new infrastructure module specs: `interfaces.py`,
|
|
58
|
+
`protocols.py`, `enums.py`, `validators.py`, `serializers.py`,
|
|
59
|
+
`factories.py`, `exceptions.py`, `constants.py`, `types.py`.
|
|
60
|
+
- SDK-wide `EventType` catalog and `EventBus` contract
|
|
61
|
+
(`07-events.md`).
|
|
62
|
+
- Full `QuantsMindError` exception hierarchy
|
|
63
|
+
(`06-exceptions-and-utilities.md`).
|
|
64
|
+
- Cross-cutting validation and serialization strategy
|
|
65
|
+
(`08-validation-and-serialization-strategy.md`).
|
|
66
|
+
- UML: package, class, sequence, and dependency diagrams in Mermaid
|
|
67
|
+
(`09-uml.md`).
|
|
68
|
+
- Testing strategy: positive/negative/boundary/validation/
|
|
69
|
+
serialization/performance scenario catalog per class
|
|
70
|
+
(`10-testing-strategy.md`).
|
|
71
|
+
- Documentation structure and completeness gate
|
|
72
|
+
(`11-documentation-structure.md`).
|
|
73
|
+
- Foundation-package-specific implementation roadmap
|
|
74
|
+
(`12-roadmap.md`), sequencing R0.2.1–R0.2.7 and the first domain
|
|
75
|
+
consumer (`quantum`) at R0.3.0.
|
|
76
|
+
- ADR 0002: Foundation Package Full Specification.
|
|
77
|
+
|
|
78
|
+
### Notes
|
|
79
|
+
Still specification-only — **no implementation code**. This release
|
|
80
|
+
supersedes the bare `ABC` skeletons shipped in R0.1.0 with an
|
|
81
|
+
implementable design suitable for another engineer or AI to build
|
|
82
|
+
from directly.
|
|
83
|
+
|
|
84
|
+
## [R0.1.0] - 2026-07-28
|
|
85
|
+
|
|
86
|
+
### Added
|
|
87
|
+
- Initial repository foundation: full directory structure per
|
|
88
|
+
`docs/architecture-overview.md`.
|
|
89
|
+
- 26 top-level packages under `src/quantsmind/` with `__init__.py` and
|
|
90
|
+
`README.md` (Purpose / Responsibility / Dependencies / Future
|
|
91
|
+
Interfaces / Status / Testing).
|
|
92
|
+
- Foundation ontology interfaces: `Entity`, `System`, `State`,
|
|
93
|
+
`Interaction`, `Identity`, `Property`, `Attribute`, `Relationship`,
|
|
94
|
+
`Behaviour`, `Constraint`, `Space`, `Time`, `Event`, `Observation`,
|
|
95
|
+
`Knowledge`, `Transformation`, `Lifecycle`.
|
|
96
|
+
- Quantum domain interface skeletons: `Qubit`, `Circuit`, `Register`,
|
|
97
|
+
`Gate`, `Operator`, `Statevector`, `Hamiltonian`, `Measurement`,
|
|
98
|
+
`Noise`, `Provider`, `Backend`, `Runtime`, `Transpiler`.
|
|
99
|
+
- Math sub-package skeletons: linear algebra, tensor algebra,
|
|
100
|
+
geometry, probability, statistics, calculus, optimization, graph
|
|
101
|
+
theory, complex numbers, numerical methods.
|
|
102
|
+
- Documentation set: architecture overview, developer guide,
|
|
103
|
+
contribution guide, coding/naming standards, versioning policy,
|
|
104
|
+
release strategy, package dependency rules, API design principles,
|
|
105
|
+
documentation standards.
|
|
106
|
+
- First Architecture Decision Record (ADR 0001: Foundation Ontology).
|
|
107
|
+
- Testing scaffolding: `tests/{unit,integration,regression,performance}`
|
|
108
|
+
mirroring the source package tree.
|
|
109
|
+
- DevOps scaffolding: GitHub Actions CI, Ruff, MyPy, pytest/coverage
|
|
110
|
+
config, pre-commit hooks.
|
|
111
|
+
- Governance docs: `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`,
|
|
112
|
+
`SECURITY.md`, `LICENSE` (Apache 2.0).
|
|
113
|
+
|
|
114
|
+
### Notes
|
|
115
|
+
This is an **architecture-only** release. No scientific, quantum, AI,
|
|
116
|
+
optimization, or simulation algorithms are implemented. See
|
|
117
|
+
`ROADMAP.md` for the implementation sequence.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation
|
|
6
|
+
in the QuantsMind SDK community a harassment-free experience for
|
|
7
|
+
everyone, regardless of age, body size, visible or invisible
|
|
8
|
+
disability, ethnicity, sex characteristics, gender identity and
|
|
9
|
+
expression, level of experience, education, socio-economic status,
|
|
10
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
11
|
+
and orientation.
|
|
12
|
+
|
|
13
|
+
## Our Standards
|
|
14
|
+
|
|
15
|
+
Examples of behavior that contributes to a positive environment:
|
|
16
|
+
- Demonstrating empathy and kindness toward other people
|
|
17
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
18
|
+
- Giving and gracefully accepting constructive feedback
|
|
19
|
+
- Focusing on what is best for the community and the project
|
|
20
|
+
|
|
21
|
+
Examples of unacceptable behavior:
|
|
22
|
+
- The use of sexualized language or imagery, and sexual attention of
|
|
23
|
+
any kind
|
|
24
|
+
- Trolling, insulting or derogatory comments, and personal or
|
|
25
|
+
political attacks
|
|
26
|
+
- Public or private harassment
|
|
27
|
+
- Publishing others' private information without explicit permission
|
|
28
|
+
|
|
29
|
+
## Enforcement Responsibilities
|
|
30
|
+
|
|
31
|
+
Project maintainers are responsible for clarifying and enforcing
|
|
32
|
+
standards of acceptable behavior and will take appropriate corrective
|
|
33
|
+
action in response to any behavior deemed inappropriate, threatening,
|
|
34
|
+
offensive, or harmful.
|
|
35
|
+
|
|
36
|
+
## Scope
|
|
37
|
+
|
|
38
|
+
This Code of Conduct applies within all project spaces, and also
|
|
39
|
+
applies when an individual is officially representing the project in
|
|
40
|
+
public spaces.
|
|
41
|
+
|
|
42
|
+
## Enforcement
|
|
43
|
+
|
|
44
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior
|
|
45
|
+
may be reported to the project maintainers through the reporting
|
|
46
|
+
channel listed in the project's repository page. All complaints will
|
|
47
|
+
be reviewed and investigated promptly and fairly.
|
|
48
|
+
|
|
49
|
+
## Attribution
|
|
50
|
+
|
|
51
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
52
|
+
version 2.1.
|
|
53
|
+
|
|
54
|
+
[homepage]: https://www.contributor-covenant.org
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Contributing to QuantsMind SDK
|
|
2
|
+
|
|
3
|
+
Thank you for considering a contribution. QuantsMind is designed for
|
|
4
|
+
decades of evolution, so we favor careful, well-justified changes over
|
|
5
|
+
speed.
|
|
6
|
+
|
|
7
|
+
## Before you start
|
|
8
|
+
|
|
9
|
+
1. Read `docs/architecture-overview.md` and
|
|
10
|
+
`docs/package-dependency-rules.md`.
|
|
11
|
+
2. For anything touching architecture (new packages, new cross-package
|
|
12
|
+
dependencies, new public interfaces), open an issue first and, if
|
|
13
|
+
accepted, add an ADR under `architecture/decisions/`.
|
|
14
|
+
3. Check `ROADMAP.md` — implementation work should map to a roadmap
|
|
15
|
+
item; if it doesn't, discuss it in an issue first.
|
|
16
|
+
|
|
17
|
+
## Engineering principles (non-negotiable)
|
|
18
|
+
|
|
19
|
+
1. Mathematics before implementation.
|
|
20
|
+
2. Architecture before code.
|
|
21
|
+
3. Interfaces before implementations.
|
|
22
|
+
4. Composition before inheritance.
|
|
23
|
+
5. Simplicity before optimization.
|
|
24
|
+
6. Extensibility before specialization.
|
|
25
|
+
7. Documentation before release.
|
|
26
|
+
8. Testing before optimization.
|
|
27
|
+
9. Vendor independence.
|
|
28
|
+
10. Scientific correctness.
|
|
29
|
+
11. Clean public APIs.
|
|
30
|
+
12. Minimal coupling / high cohesion.
|
|
31
|
+
13. Backward compatibility whenever possible.
|
|
32
|
+
|
|
33
|
+
## Workflow
|
|
34
|
+
|
|
35
|
+
1. Fork and branch: `feature/<short-desc>`, `fix/<short-desc>`, or
|
|
36
|
+
`docs/<short-desc>`.
|
|
37
|
+
2. Make one logical change per PR.
|
|
38
|
+
3. Run locally:
|
|
39
|
+
```bash
|
|
40
|
+
ruff check .
|
|
41
|
+
mypy src
|
|
42
|
+
pytest tests/unit
|
|
43
|
+
```
|
|
44
|
+
4. Update `CHANGELOG.md` under `[Unreleased]`.
|
|
45
|
+
5. Open a PR describing *why*, not just *what*.
|
|
46
|
+
|
|
47
|
+
## New package checklist
|
|
48
|
+
|
|
49
|
+
- [ ] `src/quantsmind/<name>/__init__.py`
|
|
50
|
+
- [ ] `src/quantsmind/<name>/README.md` (Purpose / Responsibility /
|
|
51
|
+
Dependencies / Future Interfaces / Status / Testing)
|
|
52
|
+
- [ ] Entry added to `docs/package-dependency-rules.md`
|
|
53
|
+
- [ ] Mirrored `tests/unit/<name>`, `tests/integration/<name>`
|
|
54
|
+
- [ ] No new circular dependencies
|
|
55
|
+
|
|
56
|
+
## Code of Conduct
|
|
57
|
+
|
|
58
|
+
By participating, you agree to abide by `CODE_OF_CONDUCT.md`.
|
|
59
|
+
|
|
60
|
+
## Reporting security issues
|
|
61
|
+
|
|
62
|
+
Do not open a public issue. See `SECURITY.md`.
|
quantsmind-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
https://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
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
16
|
+
exercising permissions granted by this License.
|
|
17
|
+
|
|
18
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
19
|
+
including but not limited to software source code, documentation
|
|
20
|
+
source, and configuration files.
|
|
21
|
+
|
|
22
|
+
"Object" form shall mean any form resulting from mechanical
|
|
23
|
+
transformation or translation of a Source form.
|
|
24
|
+
|
|
25
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
26
|
+
Object form, made available under the License, as indicated by a
|
|
27
|
+
copyright notice included in or attached to the work.
|
|
28
|
+
|
|
29
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
30
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
31
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
32
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
33
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
34
|
+
Work and such Derivative Works in Source or Object form.
|
|
35
|
+
|
|
36
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
37
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
38
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
39
|
+
(except as stated in this section) patent license to make, have
|
|
40
|
+
made, use, offer to sell, sell, import, and otherwise transfer the
|
|
41
|
+
Work.
|
|
42
|
+
|
|
43
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
44
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
45
|
+
modifications, provided that You meet the following conditions:
|
|
46
|
+
|
|
47
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
48
|
+
Works a copy of this License; and
|
|
49
|
+
|
|
50
|
+
(b) You must cause any modified files to carry prominent notices
|
|
51
|
+
stating that You changed the files; and
|
|
52
|
+
|
|
53
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
54
|
+
that You distribute, all copyright, patent, trademark, and
|
|
55
|
+
attribution notices from the Source form of the Work; and
|
|
56
|
+
|
|
57
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
58
|
+
distribution, then any Derivative Works that You distribute
|
|
59
|
+
must include a readable copy of the attribution notices
|
|
60
|
+
contained within such NOTICE file.
|
|
61
|
+
|
|
62
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
63
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
64
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
65
|
+
this License, without any additional terms or conditions.
|
|
66
|
+
|
|
67
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
68
|
+
names, trademarks, service marks, or product names of the Licensor.
|
|
69
|
+
|
|
70
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed
|
|
71
|
+
to in writing, Licensor provides the Work on an "AS IS" BASIS,
|
|
72
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
73
|
+
implied.
|
|
74
|
+
|
|
75
|
+
8. Limitation of Liability. In no event and under no legal theory
|
|
76
|
+
shall any Contributor be liable to You for damages arising as a
|
|
77
|
+
result of this License or out of the use or inability to use the
|
|
78
|
+
Work.
|
|
79
|
+
|
|
80
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
81
|
+
the Work or Derivative Works thereof, You may choose to offer, and
|
|
82
|
+
charge a fee for, acceptance of support, warranty, indemnity, or
|
|
83
|
+
other liability obligations consistent with this License.
|
|
84
|
+
|
|
85
|
+
END OF TERMS AND CONDITIONS
|
|
86
|
+
|
|
87
|
+
Copyright 2026 QuantsMind SDK Contributors
|
|
88
|
+
|
|
89
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
90
|
+
you may not use this file except in compliance with the License.
|
|
91
|
+
You may obtain a copy of the License at
|
|
92
|
+
|
|
93
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
94
|
+
|
|
95
|
+
Unless required by applicable law or agreed to in writing, software
|
|
96
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
97
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
98
|
+
implied. See the License for the specific language governing
|
|
99
|
+
permissions and limitations under the License.
|