Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difference between paper and code in quan_layer #24

Open
EwainPeng opened this issue Jul 30, 2022 · 2 comments
Open

difference between paper and code in quan_layer #24

EwainPeng opened this issue Jul 30, 2022 · 2 comments

Comments

@EwainPeng
Copy link

Hi~ I have a liitle puzzled about a difference between paper and code in quan_layer.py.
In paper, when B = 4 P0∈{0,2^0,2^-2,2^-4} (show in example in 2.2)
But in code quan_layer.py line 23: base_b.append(2 ** (-2 * i - 2)), when i range(3) we have P0∈{0,2^-2,2^-4,2^-6}
I am a little puzzled about it, thanks a lot!

@Minato-Zackie
Copy link

I have the same question as EwainPeng.
Why the sum of n PoT terms of each level is different from the paper?
Looking forward to your reply!

@lllkjh
Copy link

lllkjh commented May 15, 2024

@Minato-Zackie @EwainPeng Hello guys, did you figure this question out? thx

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

No branches or pull requests

3 participants