Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
b626370
Entry point and function created, returns info about instructions in …
Shobhit21287 Aug 6, 2025
8f0eab7
printing the qubits and clbits names
Shobhit21287 Aug 6, 2025
64d4a3a
fixed entry point for draw function
Shobhit21287 Aug 11, 2025
ed422d3
addition to draw function, getting layers from DAG circuit
Shobhit21287 Aug 12, 2025
1e9da89
code moved to circuit_drawer.rs and added as module for import, no lo…
Shobhit21287 Aug 13, 2025
8d58502
refactored code, wire and circuit class
Shobhit21287 Aug 17, 2025
9898fb7
minor qubit rep fixes
Shobhit21287 Aug 18, 2025
f4fc501
changed from pymodule to pyfunction
Shobhit21287 Aug 25, 2025
b8d29b5
circuit to dag conversion moved to python
Shobhit21287 Aug 25, 2025
f13fb3e
boilerplate code for layer stripping
Shobhit21287 Aug 20, 2025
49e530d
creating visualisation layers
Shobhit21287 Aug 25, 2025
feae1a2
quadratic complexity building of sublayers
Shobhit21287 Aug 26, 2025
d0bc7dd
few minor fixes
Shobhit21287 Aug 26, 2025
f667fdd
get_layers implementation completed
Shobhit21287 Aug 28, 2025
73c606a
datastruct for drawing rep
Shobhit21287 Sep 8, 2025
c9b9dea
barrier implementation added
Shobhit21287 Sep 15, 2025
d4793e5
Visualization Matrix structure completed
Shobhit21287 Sep 19, 2025
55df1d7
Make build_layers a standalone function
eliarbel Sep 21, 2025
f772f6a
drawing logic for box and multibox, renamed Enclosed to Drawable
Shobhit21287 Sep 30, 2025
c39f693
printing logic complete, normalisation left
Shobhit21287 Oct 6, 2025
55f90a1
Lay groundwork for VisualizationMatrix
eliarbel Oct 7, 2025
ec2bda5
fixed a counter in draw_layer, removed debug print statement to make …
Shobhit21287 Oct 6, 2025
51c836e
general handling of standard gate and instructions added, inputs also…
Shobhit21287 Oct 13, 2025
09a5ef4
minor changes in print statements
Shobhit21287 Oct 13, 2025
492c70a
Visualization Matrix implementation complete
Shobhit21287 Oct 14, 2025
0474bbf
Visualization Matrix implementation complete
Shobhit21287 Oct 14, 2025
b2374a9
text drawer, logic complete. TO DO: fix decorations
Shobhit21287 Oct 16, 2025
42e007c
added swap gate support, removed circuit rep
Shobhit21287 Oct 25, 2025
1e3cac1
added top and bottom connect support, fixed parameter labels
Shobhit21287 Oct 25, 2025
8e47ad6
merge wires added
Shobhit21287 Oct 27, 2025
0dbff3d
added cregbundle functionality
Shobhit21287 Oct 27, 2025
1621495
Clean up various `VisualizationMatrix` construction flow
eliarbel Nov 2, 2025
6f92f15
added draw capabilities
Shobhit21287 Oct 29, 2025
f8c409d
linting for lib.rs
Shobhit21287 Oct 30, 2025
234bd02
added cregbundle flag
Shobhit21287 Nov 2, 2025
f9b82f8
removed visualization matrix printing
Shobhit21287 Nov 2, 2025
1831160
mergewires flag added
Shobhit21287 Nov 2, 2025
031b254
Run cargo fmt
eliarbel Nov 2, 2025
8831e34
fixed a few labels
Shobhit21287 Nov 4, 2025
74ddaa7
added vertical lines support for controlled gates
Shobhit21287 Nov 5, 2025
7a95e5f
added standard gate visualisation support barring special cases
Shobhit21287 Nov 5, 2025
eca1ad8
fixed classical wire connection for measurement
Shobhit21287 Nov 5, 2025
37acece
added fold functionality
Shobhit21287 Nov 6, 2025
4d41876
cosmetic addition for folding of quantum circuits
Shobhit21287 Nov 6, 2025
5ba5d75
Fix `cregbundle` behavior
eliarbel Nov 10, 2025
7d7ade0
added aspect ratio based folding for printing, index out of range bug…
Shobhit21287 Nov 13, 2025
16b98a8
Simplify get_label
eliarbel Nov 16, 2025
664bae1
preliminary changes to structure, added PackedInstruction to control …
Shobhit21287 Nov 16, 2025
d656049
bug fix for top and bottom con for boxed elements
Shobhit21287 Nov 16, 2025
85e2c53
temporary commit to save changes before merging with text_circuit_drawer
Shobhit21287 Nov 17, 2025
64f4d5b
Implement Debug for VisualizationMatrix
eliarbel Nov 17, 2025
8393f7e
Simplify VisualizationElement::VerticalLine
eliarbel Nov 17, 2025
f137da5
Add get_name to ElementWireInput
eliarbel Nov 17, 2025
33db39f
Simplify DirectOnWire case
eliarbel Nov 17, 2025
87896a9
Simplify the Boxed::Single(inst) case
eliarbel Nov 18, 2025
759a4c9
Simplify the Boxed::Multi case
eliarbel Nov 18, 2025
b2212f2
Fix clippy issues, refactor and clean up a bit
eliarbel Nov 18, 2025
b9c5ff5
Propagate "top" to `merge_wires`
eliarbel Nov 18, 2025
d55dd97
Apply miscellaneous fixes
eliarbel Nov 18, 2025
d3c2c37
Fix minor visualization issues
eliarbel Nov 18, 2025
59056ec
Fix bugs related to input wires handling
eliarbel Nov 19, 2025
9837f3a
Add clbit_map as a field in VisualizationMatrix
eliarbel Nov 19, 2025
8b683c2
added indexing for classical bits when bundling
Shobhit21287 Nov 19, 2025
8b74972
cargo fmt
Shobhit21287 Nov 19, 2025
4a96ffe
Fix a panic when measuring anonymous clbits with cregbundle
eliarbel Nov 19, 2025
a221c4a
Add unitary gate support
eliarbel Nov 19, 2025
7b329d2
linting and final checks
Shobhit21287 Nov 20, 2025
13e78c1
cleanups
Shobhit21287 Nov 20, 2025
57184e0
Fix panic with mergewires=true and improve Delay drawing
eliarbel Nov 20, 2025
2c32479
Merge remote-tracking branch 'upstream/main' into text_circuit_drawer
Shobhit21287 Nov 27, 2025
5a27774
fixed label extraction for packed instruction
Shobhit21287 Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 190 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/circuit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ uuid.workspace = true
nom.workspace = true
nom-unicode.workspace = true
nom-language.workspace = true
crossterm = "0.29.0"

[dependencies.pyo3]
workspace = true
Expand Down
Loading