shiavm006 opened a new pull request, #757:
URL: https://github.com/apache/mahout/pull/757

   ### Purpose of PR
   Fix `draw_circuit()` method to return visualization string instead of None. 
The method was printing the circuit visualization but returning `None`, which 
contradicted the docstring that claimed it returns a visualization object. Now 
all backends (Qiskit, Cirq, Amazon Braket) return the visualization string as 
documented, allowing users to capture and use the return value.
   
   ### Related Issues or PRs
   - Closes #679
   
   ### Changes Made
   - [x] Bug fix
   - [ ] New feature
   - [ ] Refactoring
   - [ ] Documentation
   - [ ] Test
   - [ ] CI/CD pipeline
   - [ ] Other
   
   ### Breaking Changes
   - [ ] Yes
   - [x] No
   
   ### Checklist
   - [x] Added or updated unit tests for all changes
   - [ ] Added or updated documentation for all changes
   - [x] Successfully built and ran all unit tests or manual tests locally
   - [x] PR title follows "MAHOUT-XXX: Brief Description" format (if related to 
an issue)
   - [x] Code follows ASF guidelines


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to