finalstate | R Documentation |
Find the vector state of a circuit
finalstate(a, b)
# to determinate the state of a circuit without any gate finalstate(qc,1) # to determinate the state of a circuit with a gate but without Cnot gate finalstate(qc,2) # to determinate the state of a circuit with Cnot gate type (0,1) finalstate(qc,3) # to determinate the state of a circuit with Cnot gate type (1,0) finalstate(qc,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.