GUPPY
FISHER
Posts
Notes
Pull Requests
Log
Pond
About
contributions
Pull Requests
A summary of every merged pull request — the problem, the fix, and why it matters.
All
Feature
Fix
Documentation
Performance
Pull Requests · #13
performance
PR #1651: Optimizing Queue Pop Performance
Replaced the linear-time std.collections.Queue.pop with a circular-buffer implementation that provides constant-time push, pop, and peek operations.
Pull Requests · #12
documentation
PR #1589: Clearer Docstrings for the Angle Type
Improved the docstring for Guppy's angle class to explicitly document the half-turns convention, clarify the relationship to radians, and note that angles do not wrap around.
Pull Requests · #11
fix
PR #1551: Fixing Nested Modifier Propagation
Fixed a bug where nested with modifier blocks (dagger, control, power) silently ignored outer modifier constraints instead of correctly propagating them through the compilation pipeline.
Pull Requests · #10
feature
PR #1527: Clearer Errors When Misusing Guppy Objects in comptime()
Added a dedicated error diagnostic for using Guppy functions or types inside comptime() expressions, replacing raw Python tracebacks with a message that explains the problem and how to fix it.
Pull Requests · #9
fix
PR #1496: Fixing WASM Module Path Resolution
Fixed a file system bug where Guppy looked for WASM modules relative to the current working directory instead of the source file's location, breaking Jupyter notebook workflows.
Pull Requests · #8
feature
PR #1501: Better Error Messages for Linearity Violations in Structs
Improved error messages when a quantum struct member causes a linearity violation — errors now point at the specific member rather than internal data, making bugs easier to diagnose.
Pull Requests · #7
fix
PR #1497: Fixing Misleading Qubit Leak Error Messages
Fixed a compiler bug where leaked qubits would generate error messages blaming the wrong location — pointing at a branch condition instead of the unconditional leak.
Pull Requests · #6
feature
PR #1498: Completing Support for Boolean Reverse Operators
Added the missing reverse boolean operator methods (__rand__, __ror__, __rxor__) so boolean operations work correctly regardless of operand order, matching standard Python behavior.
Pull Requests · #5
feature
PR #1459: Efficient Array Swap via HUGR's Native Swap Operation
Added an array_swap function that compiles directly to HUGR's native swap op, replacing a less efficient workaround and giving developers a clean path from high-level Python to optimized operations.
Pull Requests · #4
feature
PR #1469: Compile-Time Linearity Check for Array Indexing
Added a compile-time linearity check that catches duplicate array index usage in function calls before the program runs, preventing runtime panics for linear types like qubits.
Pull Requests · #3
fix
PR #1484: Fixing Misleading Error Messages for NumPy Arrays in comptime()
Fixed an error that blamed the list container when the real problem was an unsupported NumPy integer inside it — errors now identify the actual element type causing the issue.
Pull Requests · #2
feature
PR #1448: Compile-Time Array Bounds Checking
Implemented compile-time bounds checking for Guppy arrays when the array size and index are statically known, catching out-of-bounds errors at compile time rather than runtime.
Pull Requests · #1
documentation
PR #1428: API Documentation for Standard Library Modules
Added module-level docstrings across Guppy's standard library, giving each module a clear description for IDE tooltips and automated documentation tooling.