Requesting help with time analysis of quantum circuits #69
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Sorry, but I don't really get the question you are studying. What is the y axis in your plot, some expectation value or the control pulses? If they are pulses, why are |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply and your help dear @BoxiLi The above signals generate all the possibilities of the states that could enter the CNOT gate and, consequently, it generates the following I want to make every qubit ((|x>) and (|y>)) a serial clock of |0> and |1> that enter the CNOT and observe |o/p1> and |o/p2> as a time-dependent pulses as shown in the figure that I drew earlier. Thank you very much for your help @BoxiLi |
Beta Was this translation helpful? Give feedback.
-
Dear @BoxiLi |
Beta Was this translation helpful? Give feedback.
-
The quantum gate's rise time and fall time in addition to the quantum wire's delays and possible noise sources are also important in the computation. I hope if they can also be included. |
Beta Was this translation helpful? Give feedback.
-
Ok, now I roughly get it. As far as I understand, you want to give the circuit different inputs and get different outputs. You could define a sequence of input states and run the circuit for each of them time_sequence = [0, 1, 2, ,3 ,4, 5 ...]
input_state_sequence = [state0, state1,state2, ...]
output_state_sequence = []
for input_state in input_state_sequence :
output = circuit.run(input_state)
output_state_sequence .append(output) And then, as you said, If you want to generate all possible input states on the computational basis automatically, I recommend using Python |
Beta Was this translation helpful? Give feedback.
-
Dear @BoxiLi |
Beta Was this translation helpful? Give feedback.
Ok, now I roughly get it.
As far as I understand, you want to give the circuit different inputs and get different outputs.
qutip-qip
don't have this build-in. The method implemented inqutip-qip
only takes one input and gives you one output. So one run at a time. However, if your circuit does not change, then I feel like afor
loop should be able to solve your question.You could define a sequence of input states and run the circuit for each of them
An…