Skip to content

add function print_state#60

Draft
cvsvensson wants to merge 1 commit intomainfrom
print_state
Draft

add function print_state#60
cvsvensson wants to merge 1 commit intomainfrom
print_state

Conversation

@cvsvensson
Copy link
Copy Markdown
Owner

Need a more generic version as well, defined for H::AbstractFockHilbertSpace.

@github-actions
Copy link
Copy Markdown

Benchmark Results (Julia v1)

Time benchmarks
main 36ec20e... main / 36ec20e...
embed 0.0758 ± 0.00091 s 0.0763 ± 0.00087 s 0.994 ± 0.017
hilbert_space 0.0628 ± 0.0031 ms 0.0633 ± 0.0049 ms 0.993 ± 0.091
matrix_representation 2.21 ± 0.54 ms 2.36 ± 0.54 ms 0.939 ± 0.32
matrix_representation_bdg 0.887 ± 0.1 ms 0.878 ± 0.085 ms 1.01 ± 0.15
matrix_representation_free_fermion 0.401 ± 0.018 ms 0.397 ± 0.017 ms 1.01 ± 0.062
partial_trace 1.91 ± 0.0058 ms 1.94 ± 0.0069 ms 0.988 ± 0.0046
symbolic_deep_product 7.96 ± 0.12 ms 7.94 ± 0.13 ms 1 ± 0.022
symbolic_sum 0.203 ± 0.01 ms 0.21 ± 0.01 ms 0.968 ± 0.068
symbolic_sum_square 7.47 ± 0.16 ms 7.48 ± 0.18 ms 0.999 ± 0.032
time_to_load 0.491 ± 0.0065 s 0.491 ± 0.0014 s 1 ± 0.013
Memory benchmarks
main 36ec20e... main / 36ec20e...
embed 0.0986 M allocs: 4.92 MB 0.0986 M allocs: 4.92 MB 1
hilbert_space 0.082 k allocs: 0.296 MB 0.082 k allocs: 0.296 MB 1
matrix_representation 0.219 k allocs: 4.79 MB 0.219 k allocs: 4.79 MB 1
matrix_representation_bdg 5.27 k allocs: 2.37 MB 5.27 k allocs: 2.37 MB 1
matrix_representation_free_fermion 3.04 k allocs: 0.505 MB 3.04 k allocs: 0.505 MB 1
partial_trace 0.058 k allocs: 7.33 kB 0.058 k allocs: 7.33 kB 1
symbolic_deep_product 0.121 M allocs: 5.89 MB 0.121 M allocs: 5.89 MB 1
symbolic_sum 5.04 k allocs: 0.521 MB 5.04 k allocs: 0.521 MB 1
symbolic_sum_square 0.129 M allocs: 6.52 MB 0.129 M allocs: 6.52 MB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.21%. Comparing base (bcd28bd) to head (36ec20e).

Files with missing lines Patch % Lines
src/printing.jl 0.00% 20 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   86.32%   85.21%   -1.11%     
==========================================
  Files          17       18       +1     
  Lines        1536     1556      +20     
==========================================
  Hits         1326     1326              
- Misses        210      230      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cvsvensson cvsvensson marked this pull request as draft August 25, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants