Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

qmb

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qmb - npm Package Compare versions

Comparing version
0.0.8
to
0.0.9
+2
entry_points.txt
[console_scripts]
qmb = qmb.__main__:main
Metadata-Version: 2.1
Name: qmb
Version: 0.0.9
Summary: Quantum Manybody Problem
Author-email: Hao Zhang <hzhangxyz@outlook.com>
License: GPLv3
Project-URL: Homepage, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Documentation, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Repository, https://github.com/USTC-KnowledgeComputingLab/qmb.git
Project-URL: Issues, https://github.com/USTC-KnowledgeComputingLab/qmb/issues
Keywords: quantum,manybody,quantum-chemistry,quantum-simulation,molecular-simulation,algorithms,simulation,wave-function,ground-state,ansatz,torch,pytorch
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: torch
Requires-Dist: tyro
Requires-Dist: openfermion
# Quantum-Many-Body

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

qmb/_openfermion.cpython-312-darwin.so,sha256=H6cAEiWgTnRabc5Y2WAdXlS4pOk_LChoIMfNvFU0B3Y,497576
qmb/iter.py,sha256=N_94Mxd85xXp0_x2E_yyQdu6f4ObTk3RBnIA3foO4Io,4453
qmb/attention.py,sha256=T4HB5Ls6FdrJ3zBcYcAyITvW6uNndgmVmFz859VpyZ8,18701
qmb/ising.py,sha256=7WsM3XvWyFkMvI3eo_SybE_CKgS1iuiLdwmG8p6QCDA,2958
qmb/_binary_tree.hpp,sha256=78Eus5lGQeJc45_dmWtevisBlSGqQDQZauhDmPcNyXs,1538
qmb/version.py,sha256=TwRi2oMKFivr-wPPu9jL2dNTutt5H5w2riUVZ_WoZFE,108
qmb/_version.py,sha256=VUKDhsDLOPKj9zNw_322lJTB3k9JKH6BOu4nkEc42KY,411
qmb/Makefile,sha256=at602IizZ30TK0QbFR5SxnhsFYlihB7VOe4r8kK6J8A,588
qmb/naqs.py,sha256=v3v4Ms6MtWPUZBgYb8SD7zgevGPRbmlLCHJBpaaPcwE,20977
qmb/openfermion_operator.py,sha256=Vi9aP7XG09E3VRuaFK5mcS9P8g2RIZk75uycABLx-9g,1303
qmb/__init__.py,sha256=3rjaLnjJirLdTgG2c2sy0R5rcs2Jos_mcO_G23uO9iI,80
qmb/subcommand_dict.py,sha256=aG_seFnDYVxiVOAzBjtxsZUAocReDc28ycPSik89WIM,21
qmb/_ising.pyi,sha256=SwZm3HFtAnoVxvu7meJo3tcDBPhh-ia-14jJdf8ssb0,458
qmb/common.py,sha256=ysKZaCpvDhDowsCgJ2LSw5Zp5GUMUrHn8eEWQMjqK38,4143
qmb/_openfermion.pyi,sha256=iNYzzeGlsi2pCVTuP9b3ebG1fzf8lW6sui8iQnuPCkg,453
qmb/learn.py,sha256=FmK8_9TbBwhhG2AcW8tFjauy0SbsU9rSxvcCLNIluug,5642
qmb/losses.py,sha256=DAU0MAMIa5c5-Mkd4BCmSWi7I7q9uqufQb7z5NVYus4,1600
qmb/_ising.cpython-312-darwin.so,sha256=Qg51iDg-GSLFuSohlrbzokyJdnBoviVsiUAQBFTK8gc,461136
qmb/openfermion.py,sha256=oyMloMv_5Pfkx8IKdw7K3UoE-o_2e8OTfT4ZVQBe4CU,4262
qmb/vmc.py,sha256=JdPjlb-w0xZGJ-5hVsuvn6l8V9hYdyDqeEV0x29nMWg,9938
qmb/__main__.py,sha256=KHKu7RBoi8EbQ6yMOBBuCqDm9_jmwRDzhLwmRuuLnQE,248
qmb/_ising.cpp,sha256=y5NhEu5HAdP7WiC4-lqFViTF8J3av5w6mMXILHMKS1o,7526
qmb/_openfermion.cpp,sha256=gwdizAqao2mVE9nJj0elbzeZQqKqgyuAf5J75SDXmrA,7449
qmb-0.0.9.dist-info/LICENSE.md,sha256=zFRw_u1mGSOH8GrpOu0L1P765aX9fB5UpKz06mTxAos,34893
qmb-0.0.9.dist-info/RECORD,,
qmb-0.0.9.dist-info/WHEEL,sha256=JjfPN3tuNVktXeVx2CdYSsvuQYIjI_7f2R0S3yE0Gks,115
qmb-0.0.9.dist-info/entry_points.txt,sha256=-j_dDu8UGn1_9iOs18ZRouGXcFoXo-5m11RgRtW_n7Q,42
qmb-0.0.9.dist-info/top_level.txt,sha256=P0yWQTYqagwkL4IQ256SLpcuAnNYQglhOg1OzIBD7Rg,4
qmb-0.0.9.dist-info/METADATA,sha256=mv4iLJ1KPn6E_PzzZbiGZuMuB2txSkxlFu4dLXTNhqQ,1324
Wheel-Version: 1.0
Generator: setuptools (75.1.0)
Root-Is-Purelib: false
Tag: cp312-cp312-macosx_10_13_universal2
+2
-2

@@ -15,3 +15,3 @@ # file generated by setuptools_scm

__version__ = version = '0.0.8'
__version_tuple__ = version_tuple = (0, 0, 8)
__version__ = version = '0.0.9'
__version_tuple__ = version_tuple = (0, 0, 9)

Sorry, the diff of this file is not supported yet

name: Pre-commit Hooks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pre-commit/action@v3.0.1
name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.1
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_TEST_SKIP: "*-win_arm64"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz
upload_pypi:
name: Upload wheels to pypi
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist]
environment: release
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
__pycache__
build
env
dist
_version.py
.idea
*.so
*.hdf5
*.npy
*.pt
*.log
*.egg-info
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-shebang-scripts-are-executable
- id: pretty-format-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
# - id: detect-aws-credentials
- id: detect-private-key
# - id: double-quote-string-fixer
- id: end-of-file-fixer
- id: file-contents-sorter
- id: fix-byte-order-marker
# - id: fix-encoding-pragma
- id: forbid-new-submodules
- id: forbid-submodules
- id: mixed-line-ending
- id: name-tests-test
# - id: no-commit-to-branch
- id: requirements-txt-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.0
hooks:
- id: clang-format
types_or: [c++, c, cuda]
- repo: https://github.com/pre-commit/mirrors-jshint
rev: v2.13.6
hooks:
- id: jshint
- repo: https://github.com/google/yapf
rev: v0.40.2
hooks:
- id: yapf
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
Metadata-Version: 2.1
Name: qmb
Version: 0.0.8
Summary: Quantum Manybody Problem
Author-email: Hao Zhang <hzhangxyz@outlook.com>
License: GPLv3
Project-URL: Homepage, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Documentation, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Repository, https://github.com/USTC-KnowledgeComputingLab/qmb.git
Project-URL: Issues, https://github.com/USTC-KnowledgeComputingLab/qmb/issues
Keywords: quantum,manybody,quantum-chemistry,quantum-simulation,molecular-simulation,algorithms,simulation,wave-function,ground-state,ansatz,torch,pytorch
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: torch
Requires-Dist: tyro
Requires-Dist: openfermion
# Quantum-Many-Body
[build-system]
requires = ["setuptools>=69.5", "setuptools_scm>=8.1", "pybind11>=2.13"]
build-backend = "setuptools.build_meta"
[project]
name = "qmb"
dynamic = ["version"]
dependencies = ["numpy", "scipy", "torch", "tyro", "openfermion"]
requires-python = ">=3.12"
authors = [{ name = "Hao Zhang", email = "hzhangxyz@outlook.com" }]
description = "Quantum Manybody Problem"
readme = "README.md"
license = {text = "GPLv3"}
keywords = ["quantum", "manybody", "quantum-chemistry", "quantum-simulation", "molecular-simulation", "algorithms", "simulation", "wave-function", "ground-state", "ansatz", "torch", "pytorch"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/USTC-KnowledgeComputingLab/qmb"
Documentation = "https://github.com/USTC-KnowledgeComputingLab/qmb"
Repository = "https://github.com/USTC-KnowledgeComputingLab/qmb.git"
Issues = "https://github.com/USTC-KnowledgeComputingLab/qmb/issues"
[project.scripts]
qmb = "qmb.__main__:main"
[tool.setuptools.packages.find]
include = ["qmb"]
[tool.setuptools_scm]
version_file = "qmb/_version.py"
version_scheme = "no-guess-dev"
[tool.yapf]
based_on_style = "google"
column_limit = 200
[tool.cibuildwheel.linux]
archs = ["x86_64", "i686", "aarch64", "ppc64le", "s390x"]
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64", "universal2"]
[tool.cibuildwheel.windows]
archs = ["AMD64", "x86", "ARM64"]
[console_scripts]
qmb = qmb.__main__:main
Metadata-Version: 2.1
Name: qmb
Version: 0.0.8
Summary: Quantum Manybody Problem
Author-email: Hao Zhang <hzhangxyz@outlook.com>
License: GPLv3
Project-URL: Homepage, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Documentation, https://github.com/USTC-KnowledgeComputingLab/qmb
Project-URL: Repository, https://github.com/USTC-KnowledgeComputingLab/qmb.git
Project-URL: Issues, https://github.com/USTC-KnowledgeComputingLab/qmb/issues
Keywords: quantum,manybody,quantum-chemistry,quantum-simulation,molecular-simulation,algorithms,simulation,wave-function,ground-state,ansatz,torch,pytorch
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: torch
Requires-Dist: tyro
Requires-Dist: openfermion
# Quantum-Many-Body
numpy
scipy
torch
tyro
openfermion
.clang-format
.gitignore
.pre-commit-config.yaml
LICENSE.md
README.md
pyproject.toml
setup.py
.github/workflows/pre-commit.yml
.github/workflows/wheels.yml
qmb/Makefile
qmb/__init__.py
qmb/__main__.py
qmb/_binary_tree.hpp
qmb/_ising.cpp
qmb/_ising.pyi
qmb/_openfermion.cpp
qmb/_openfermion.pyi
qmb/_version.py
qmb/attention.py
qmb/common.py
qmb/ising.py
qmb/iter.py
qmb/learn.py
qmb/losses.py
qmb/naqs.py
qmb/openfermion.py
qmb/openfermion_operator.py
qmb/subcommand_dict.py
qmb/version.py
qmb/vmc.py
qmb.egg-info/PKG-INFO
qmb.egg-info/SOURCES.txt
qmb.egg-info/dependency_links.txt
qmb.egg-info/entry_points.txt
qmb.egg-info/requires.txt
qmb.egg-info/top_level.txt
# Quantum-Many-Body
[egg_info]
tag_build =
tag_date = 0
import os
import glob
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension
cpp_files = glob.glob(os.path.join("qmb", "*.cpp"))
ext_modules = [Pybind11Extension(
f"qmb.{os.path.splitext(os.path.basename(cpp_file))[0]}",
[cpp_file],
cxx_std=17,
) for cpp_file in cpp_files]
setup(ext_modules=ext_modules)