Skip to content

Added MPS to vector feature in networks.py#4

Merged
MaxFroehlich1410 merged 13 commits intomainfrom
MPS-to-vector-feature
Mar 10, 2025
Merged

Added MPS to vector feature in networks.py#4
MaxFroehlich1410 merged 13 commits intomainfrom
MPS-to-vector-feature

Conversation

@MaxFroehlich1410
Copy link
Collaborator

@MaxFroehlich1410 MaxFroehlich1410 commented Mar 7, 2025

Description

This pull request adds a method to the MPS class to convert tensors to a statevector.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style

@codecov
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.2%. Comparing base (29dc2e2) to head (b80c95f).
Report is 362 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main      #4   +/-   ##
=====================================
  Coverage   95.2%   95.2%           
=====================================
  Files         19      19           
  Lines       1501    1509    +8     
=====================================
+ Hits        1430    1438    +8     
  Misses        71      71           
Flag Coverage Δ
python 95.1% <100.0%> (+<0.1%) ⬆️
Files with missing lines Coverage Δ
src/mqt/yaqs/core/data_structures/networks.py 95.3% <100.0%> (+0.1%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aaronleesander aaronleesander added feature New feature or request minor Minor version update labels Mar 8, 2025
@aaronleesander aaronleesander self-requested a review March 10, 2025 10:55
@MaxFroehlich1410 MaxFroehlich1410 merged commit a502f43 into main Mar 10, 2025
17 checks passed
@MaxFroehlich1410 MaxFroehlich1410 deleted the MPS-to-vector-feature branch March 10, 2025 18:30
MaxFroehlich1410 added a commit that referenced this pull request Jun 11, 2025
## Description

This pull request adds a method to the MPS class to convert tensors to a
statevector.

## Checklist:

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request minor Minor version update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants