Use `gf_instance.vector()` and `GF.Vector()` in `QGF.to_bits` and `QGF.from_bits` for binary extension fields.

Đang mở
#1,676 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
quantum-computing

Hướng nghiên cứu

Start by locating QGF.to_bits and QGF.from_bits, then read how GF2 arithmetic bloqs represent binary extension field elements and how GF.Vector() and gf_instance.vector() expose polynomial coefficients. Update the conversions to use those coefficient representations, and confirm that both methods produce the expected bits for binary extension fields.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The conversion of a QGF type to individual bits currently converts the integer representation of the field element into bits. For binary extension fields, a more natural choice is to look at the coefficients of the polynomial representation of underlying QGF types.

@NoureldinYosri Did you encounter this when implementing arithmetic bloqs for GF2?

Ngôn ngữ chính
Python
Star
397
Fork
127
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quantumlib/Qualtran

Tất cả issue của quantumlib/Qualtran

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.