Simon Burton

Results 4 issues of Simon Burton

Am I doing this right? ``` class Number(Class, Final): value = Member(int) def __init__(self, val): self.value = val def __add__(self, other): value = self.value + other.value return Number(value) @Entrypoint def...

This is with python3.9 and llvm-10.1: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D_FORTIFY_SOURCE=2 -I/usr/local/include/python3.9 -I/usr/local/lib/python3.9/site-packages/numpy/core/include -c typed_python/all.cpp -o build/temp.linux-x86_64-3.9/typed_python/all.o -O2 -fstack-protector-strong -Wformat -Wdate-time -Werror=format-security -std=c++14 -Wno-sign-compare...

I have this bit of latex, but neither the hline nor the vertical rule are being shown in the array. Instead of the horizontal rule, i see the text "hline"....

``` c0 = zx.Circuit(1) c0.add_gate("NOT", 0) c0.add_gate("Z", 0) c1 = zx.Circuit(1) c1.add_gate("Z", 0) c1.add_gate("NOT", 0) print(c0.verify_equality(c1)) ``` It should be made clear in the documentation that `verify_equality` is equality of...