Skip to content

Conversation

@isPANN
Copy link

@isPANN isPANN commented Jul 14, 2025

No description provided.

Copy link
Contributor

@GiggleLiu GiggleLiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

src/mapping.jl Outdated
M = nrow*s+1+2*padding
u = fill(empty(mode isa Weighted ? MCell{Int} : MCell{ONE}), M, N)
s = get_spacing(mode)
N = (n-1)*s+2+2*padding
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why +2 now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the rightmost T-connection gadget in the triangular lattice extends by one additional lattice site to the right, compared to the weighted version.

@isPANN isPANN requested a review from GiggleLiu September 9, 2025 05:49
@isPANN
Copy link
Author

isPANN commented Sep 9, 2025

Closing this PR since it was opened from my main branch. I’ll reopen it from a proper feature branch (see #55).

@isPANN isPANN closed this Sep 9, 2025
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