-
Notifications
You must be signed in to change notification settings - Fork 42
Description
An application doesn't render right with vertical probability gates. It seems to only render the first QuantamFlow. An example is ch07 randombitdebug from an application.
I made a change to ProbabilityGate where if you click on a cell you get slightly more information. There were issues with this because the ProbabilityGate runs vertically across all horizontal QubitFlows. Only cells in the first QubitFlow received the mouse clicks. To work around this I added the mouse listener to QubitBoard and it determines if a ProbabilityGate has been clicked on and which cell. It then shows a window with a little more information on that cell.
I was going to just mention this as a comment to Windows 10 application but noticed that it appears related to a MacOS application rendering circuits with ProbibilityGate(s) correctly. They also only seem to show the first QubitFlow. Mouse clicks on the invisible ProbabilityGate parts still work. Since this doesn't seem to only apply to my changes I thought it might merit a separate issue.
A MacOS version of the application is again available at http://mikehall.pairserver.com/qc.dmg. I have added signing. Although I think I need to renew my Apple dev account. The new window includes the superposition probability visualization I also mentioned in the above prior issue. I suggested that might be good for the wire ending visualization but will hold off on trying to change that to see if you have any thoughts.
Next I thought I'd add a File menu as previously mentioned. Maybe look at XML to circuit to XML with strange. Possibly look at the application rendering with a ProbabilityGate since I had just been looking at something sort of related. I noticed you have some drag and drop in place so maybe you had some thoughts along those lines?