Cody Wang
Cody Wang
The PR title (and the commit) should be about extracting partial measurements from results rather than adding partial measurements to circuits, which would look more like ```python circ = Circuit().h(0).cnot(0,...
Either is fine; a wrapper is much more doable, but we're not ruling out a high-performance custom implementation, which would be incredibly impressive!
Not all gates have to be supported; as well, the simulator implementation does not need to decompose gates. So you are correct, it is enough to raise an exception if...
Closing due to reprioritization
The parser already supports [`box` statements](https://github.com/amazon-braket/amazon-braket-default-simulator-python/blob/9edb1d27336e036bacc509377107b99f74e26a37/src/braket/default_simulator/openqasm/parser/openqasm_parser.py#L250-L255). The changes should be made one level up, in the `openqasm` directory (there should be no need to modify anything in the `parser` subdirectory.
The actual implementation of the box is up to the subclass; as long as there's some abstract method to enclose a block of instructions inside a box while keeping the...
Hi @robotastray, - please let me know if you want to continue working on this issue! Happy to review if it'll be ready.
Completed in #1085
Took a different route for solving the issue
At the moment, we don't support classical controlled instructions; we do support them in [autoqasm](https://github.com/amazon-braket/autoqasm), which provides a Python-native syntax for expressing programs, but note that this is currently an...