ryankert01 opened a new issue, #780:
URL: https://github.com/apache/mahout/issues/780

   ### Description
   The validation logic in `QuMat.execute_circuit` is intended to prevent 
execution if required circuit parameters are missing. However, the current 
check is flawed:
   
   ```py
   if self.parameters and not bound_parameters:
       # Raise Error
   ```
   This condition only evaluates to True if zero parameters have been bound. If 
a user provides a value for only one of multiple parameters, bound_parameters 
is not empty, causing the check to pass.
   


-- 
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