Craig Gidney

Results 155 issues of Craig Gidney

I'm running cibuildwheel from the command line on my local machine. I want to debug a build failure for the `cp39-musllinux_i686` wheel. But I can't figure out how to say...

## Describe the bug I just lost a half hour trying to debug why a measurement was returning 0 instead of the correct value. It was because an earlier `MeasureInteger`...

Kind-Enhancement
Area-API

When testing an adder, I noticed that as soon as I went to larger sizes some of the functions I was using did not have BigInt variants. For example, I...

Kind-Enhancement
Status-ChildIssue

All I did was have two resource estimation tests. And then pretty often (>10% of the time) I get failures like this one: ``` Unhandled exception. System.InvalidOperationException: Operations that change...

bug

The following test passes: ``` @Test("ResourcesEstimator") operation test_repro() : Unit { within { AllowAtMostNQubits(0, "Workspace"); } apply { use q = Qubit(); X(q); } } ``` It should fail. Project...

bug

```python import freezegun def test_without_freezegun(): t = datetime.datetime.now().timestamp() t2 = datetime.datetime.fromtimestamp(t).timestamp() assert t == t2 # PASS @freezegun.freeze_time(datetime.datetime.fromtimestamp(100_000), tz_offset=-1) def test_with_freezegun(): t = datetime.datetime.now().timestamp() t2 = datetime.datetime.fromtimestamp(t).timestamp() assert t ==...

bug

One of the joys of HTML is the ability to add hyperlinks. One of the common things papers want to link to is their own ancillary files. For example, in...

enhancement
article viewer

I'm trying to look at the state of the system as it evolves during free play, but the message "Goal: no goals! [...]" keeps replacing it, making it impossible to...

I was trying to use the freeplay mode to create an example setup. It would be useful if I could label different parts, similar to how the levels include labels.

``` import cirq print(cirq.Circuit( cirq.measure(cirq.LineQubit(0), key="abc"), cirq.X(cirq.LineQubit(0)).with_classical_controls("abc"), )) ``` ``` 0: ─────M───X─── ║ ║ abc: ═══@═══^═══ ``` The `@` means control elsewhere in diagrams. The character below the `M` isn't...

kind/bug-report
triage/accepted
area/circuits
area/visualization