Skip to main content

BQTmizer: A Tool for Test Case Minimization with Quantum Annealing

Description

Our innovative tool harnesses the power of quantum annealing (QA) to address large-scale real-world test case minimization (TCM) challenges. BQTmizer is designed to select the smallest possible test suite while ensuring that all testing objectives are met.

As a hybrid solution, it integrates bootstrap sampling techniques to optimize qubit usage in QA hardware. BQTmizer enhances your testing process, making it faster, smarter, and more efficient.

Installation

pip install bqtmizer

Example Usage

The dataset of the original test suite should be provided by a CSV file, where each column represents a property of test case and each row represents a test case.

Effectiveness and cost properties should be specified.

Users can create an account in the D-Wave Leap platform: https://cloud.dwavesys.com/ and paste the token here to run quantum annealing.

Users should specify the weights for each property, including for the objective of minimizing the number of test cases, using the key "num".

Users can specify the subproblem size N and coverage percentage beta.

from bqtmizer import bqtmizer

weights_dict = {"time":1/3, "cost":1/3, "num":1/3}
result = bqtmizer("../dataset/PaintControl_TCM.csv", ["rate"], ["time"], "xxx", weights=weights_dict, N=30, beta=0.9)

Metadata

Release files for bqtmizer 1.0.2

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

Source distribution (sdist)

Source distribution for bqtmizer 1.0.2
File Size Uploaded Provenance Actions
bqtmizer-1.0.2.tar.gz 8.2 kB Without provenance Details for bqtmizer-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bqtmizer 1.0.2
File Interpreter ABI Platform Actions
bqtmizer-1.0.2-py3-none-any.whl Python 3 none any Details for bqtmizer-1.0.2-py3-none-any.whl

Total release size: 17.2 kB

Release files / bqtmizer-1.0.2.tar.gz

Download URL bqtmizer-1.0.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bb3e70315d379d46c01047000c7342ef3085498b50bc2218a2f1476798d30185
BLAKE2b-256 checksum
How to use checksums
d68c23159c4c5ec2f0d478b0bfaf6c90914be9d5a0bca12f84e1dbe91ebf3e51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / bqtmizer-1.0.2-py3-none-any.whl

Download URL bqtmizer-1.0.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ee4078b8353f2e6b28940937b03904b0c9cf13665bc94bb8cc81ca77a754d2d
BLAKE2b-256 checksum
How to use checksums
90588a10bb5647dc4e76a03f4bc654686f00a834c19950288fabb50b47cf7f03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for bqtmizer 1.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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