Skip to main content

QCSC Prefect DICE

Shared Python-side DICE SHCI solver integration for qcsc-prefect workflows.

This package provides:

  • DiceSHCISolverJob as a Prefect block
  • DICE input/output utilities
  • Block registration and block creation helpers for Miyabi and Fugaku
  • Scheduler script integration and runtime executable preflight checks

It is intended to be reused by multiple algorithms such as SQD and SKQD. Installing this package does not build, download, vendor, or install the external DICE/SBD executable. The executable must be compiled separately for each target HPC environment.

Build instructions are site-specific because compilers, MPI stacks, BLAS/LAPACK libraries, GPU support, filesystem layout, and scheduler environments differ across HPC systems.

Source-tree native build helper assets live under:

packages/qcsc-prefect-dice/native

They are not part of the Python package install. See native/README.md for development notes and how to point dice_executable at the separately built binary.

Usage Example

from qcsc_prefect_dice import DiceSHCISolverJob, create_dice_blocks

block_names = create_dice_blocks(
    hpc_target="miyabi",
    project="gz00",
    queue="regular-c",
    root_dir="/work/gz00/<user>/dice_jobs",
    dice_executable="/work/gz00/<user>/dice/bin/Dice",
    solver_block_name="sqd-dice-solver",
)

solver = await DiceSHCISolverJob.load(block_names["solver_block_name"])
result = await solver.run(
    ci_strings=ci_strings,
    one_body_tensor=h1,
    two_body_tensor=h2,
    norb=norb,
    nelec=nelec,
)

SQD and SKQD can use the same shared package and only vary block names or their algorithm-specific setup wrappers.

The configured executable path is stored in the HPC profile executable map under the command block key dice_solver. Generated job scripts validate that path on the HPC node before launching DICE and fail early with a clear message if it is missing or not executable.

Metadata

Release files for qcsc-prefect-dice 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qcsc-prefect-dice 0.3.0
File Size Uploaded Provenance Actions
qcsc_prefect_dice-0.3.0.tar.gz 12.2 kB With provenance Details for qcsc_prefect_dice-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qcsc-prefect-dice 0.3.0
File Interpreter ABI Platform Actions
qcsc_prefect_dice-0.3.0-py3-none-any.whl Python 3 none any Details for qcsc_prefect_dice-0.3.0-py3-none-any.whl

Total release size: 22.3 kB

Release files / qcsc_prefect_dice-0.3.0.tar.gz

Download URL qcsc_prefect_dice-0.3.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0b9b3ae6803744dd6d8dd5475abfce2e55fd5c754a53b8af64c9cf99d5673849
BLAKE2b-256 checksum
How to use checksums
d6fdb8786d36023347146c3d71a721a8b5559def7071868b8546ec1aecce09f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / qcsc_prefect_dice-0.3.0-py3-none-any.whl

Download URL qcsc_prefect_dice-0.3.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0868176cb099b82cf735d646bc31edd8ef651af960bf8e22f360b635942c1f89
BLAKE2b-256 checksum
How to use checksums
e9fb3ce7d2d333fcfeac410f49fe794ec68d6bb5b9011e5852b165f65f9540f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for qcsc-prefect-dice 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qcsc_prefect_dice-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page