rigetti / rigetti/libquil-sys

Sometimes compilation fails with: arithmetic error DIVISION-BY-ZERO signalled

Open
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1
Forks
0
Avg merge
18m
Merged PRs (30d)
1

Description

Trying to compile this program fails on libquil-sys, but not using the rpcq server in some cases - see https://github.com/rigetti/qcs-sdk-rust/pull/404

DECLARE ro BIT

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing compilation of DECLARE ro BIT in libquil-sys, comparing cases that use the rpcq server with those that do not. Read the behavior and discussion in qcs-sdk-rust pull request 404, then trace the relevant compilation path; done means the program no longer fails with a DIVISION-BY-ZERO error in the affected cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.