Implement Controlled Gates in the MPS Simulator

Đang mở
#1,121 1 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 2 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Start with the stubbed ApplyControlledGate in lib/mps_simulator.h, then read the existing MPS gate application code and tests to understand how operations are represented and simulated. Add controlled-gate tests alongside the existing MPS tests; done means controlled operations are simulated correctly and the tests pass.

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

Mô tả

What is your request or suggestion?

In docs/mps.md, controlled gates are listed as a current limitation

  • Controlled gates are not yet implemented ApplyControlledGate exists but is a stub ( // TODO)

it would be great to implement controlled gates as that would extend the functionality of the MPS simulator and allow circuits containing controlled operations to be simulated.

What solution or approach do you envision?

In lib/mps_simulator.h, implement the currently stubbed ApplyControlledGate function.
The implementation should integrate with the existing MPS simulation and include appropriate tests for controlled-gate operations.

How urgent is this for you?

None

Ngôn ngữ chính
C++
Star
702
Fork
219
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
8

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/qsim

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

Issue tương tự

Thêm issue về C++

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.