You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to represent quantum teleportation, error correction, and other algorithms, qsim must support classical control. There are three key parts to this feature:
Classical registers: qsim must be able to track classical variables alongside the quantum state. These integer variables include measurement output (added in Add measurement gate. #141), user-specified input, and calculated values.
Classical operators: qsim must have a framework for applying arithmetic functions to classical registers and storing the result in a target register. This framework should accept user-specified functions - the operators need not be defined in qsim itself.
Classical control: qsim must allow classical registers to control quantum gates. A "switch" operation is sufficient for this (given an input value, and a (case, gate) mapping, apply the gate whose case matches the input, if one exists).
The text was updated successfully, but these errors were encountered:
In order to represent quantum teleportation, error correction, and other algorithms, qsim must support classical control. There are three key parts to this feature:
(case, gate)
mapping, apply the gate whosecase
matches the input, if one exists).The text was updated successfully, but these errors were encountered: