View on GitHub
Open this notebook in GitHub to run it yourself
Examples
Example 1: Subtraction of Two Quantum Variables
This example generates a quantum program that subtracts one quantum variables from the other, both of size 3 qubits.Output:
Example 2: Subtraction of a Float from a Register
This example generates a quantum program which subtracts two argument. The left_arg is defined to be a fix point number (3.5). The right_arg is defined to be a quantum register of size of three.Output: