You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "Han-Ru Chen (Jira)" <ji...@apache.org> on 2025/12/11 14:10:00 UTC

[jira] [Commented] (MAHOUT-2201) Add execute method to qumat

    [ https://issues.apache.org/jira/browse/MAHOUT-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044439#comment-18044439 ] 

Han-Ru Chen commented on MAHOUT-2201:
-------------------------------------

Hi, can I work on this?

> Add execute method to qumat
> ---------------------------
>
>                 Key: MAHOUT-2201
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-2201
>             Project: Mahout
>          Issue Type: New Feature
>          Components: qumat
>            Reporter: Trevor Grant
>            Assignee: Andrew Musselman
>            Priority: Major
>
> Update notebook too
> Currently works in notebook with
> {color:#008000}# Also requires qiskit{color}
> {color:#af00db}from{color}{color:#000000} qiskit {color}{color:#af00db}import{color}{color:#000000} execute{color}
> {color:#008000}# needs to be added as a method...{color}
> {color:#000000}job = execute(qumat.circuit, qumat.backend, shots={color}{color:#116644}1024{color}{color:#000000}) {color}{color:#008000}# Simulate the circuit 1024 times{color}
> {color:#000000}result = job.result(){color}
> {color:#000000}counts = result.get_counts(){color}
> {color:#795e26}print{color}{color:#000000}({color}{color:#a31515}"Measurement Results:"{color}{color:#000000}, counts){color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)