Closed
Conversation
…pache#654) * Add mypy for static type checking Added mypy static type checking to pre-commit hooks. * pre-commit hook: fix Signed-off-by: ryankert01 <ryan980053@gmail.com> * update version and clean-up strings Signed-off-by: ryankert01 <ryan980053@gmail.com> --------- Signed-off-by: ryankert01 <ryan980053@gmail.com>
* Implement T-gate (π/8 gate) across all backends - Add apply_t_gate() method to QuMat class with validation - Implement T-gate support in Qiskit, Cirq, and Amazon Braket backends - Restore T-gate documentation in basic_gates.md to match implementation Fixes apache#681 * Refine T-gate docs and add coverage * chore: satisfy pre-commit hooks
* docs: add missing QuMat APIs * clarify T-gate usage and parameter description * alignment docs/api.md Co-authored-by: 江家瑋 <36886416+JiangJiaWei1103@users.noreply.github.com> --------- Co-authored-by: 江家瑋 <36886416+JiangJiaWei1103@users.noreply.github.com>
Fixes apache#707 (Trying to find some simple issues to help with while hopefully finally finding time to toy with the code over Christmas.)
…d of None (apache#757) * fix the bug * Update documentation to reflect draw_circuit() returns value instead of printing
* Refactor circuit execution to use working_circuit * precommit
Co-authored-by: Krishna Dave <krishnadave@Krishnas-MacBook-Pro-2.local>
Owner
|
@copilot we've change base branch to dev-qdp |
…ests Co-authored-by: ryankert01 <91534261+ryankert01@users.noreply.github.com>
Co-authored-by: ryankert01 <91534261+ryankert01@users.noreply.github.com>
Co-authored-by: ryankert01 <91534261+ryankert01@users.noreply.github.com>
Co-authored-by: ryankert01 <91534261+ryankert01@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add path.exists() functionality in different format
Add pathlib-based file existence utilities
Jan 5, 2026
Author
Acknowledged. The PR is now targeting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Python-native file existence checking utilities using
pathlib.Path.exists()as an alternative to platform-specific implementations.Changes
qumat/file_utils.py: New module with two utilities:path_exists(file_path): Returns boolean for file/directory existenceensure_file_exists(file_path): Returns Path object or raises FileNotFoundErrorqumat/__init__.py: Exports new utilities for direct import from qumat packagetesting/test_file_utils.py: 10 test cases covering existence checks, type handling, and cross-platform pathsexamples/file_utils_example.py: Usage demonstrationUsage
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.