# Can we capture phase in IBM Quantum Experience?

I have a sample IBM experience circuit which generates $$\frac{1}{2}(|00\rangle - |01\rangle - |10\rangle + |11\rangle)$$ When we measure the state will be either $$|00\rangle$$/$$|01\rangle$$/$$|10\rangle$$/$$|11\rangle$$.

I know that state phase disappears after measurement. I am testing a complex circuit which involves phase angles and I want to ask my questionusing a simple state as mentioned above.

Is there anyway to know if the circuit has produced my desired state. I want to view the full state.

• Click on the icon with graph on left hand-side from window with qasm code. You will see theoretical output od the circuit. – Martin Vesely Feb 19 '20 at 14:52

You can load the circuit by using QuantumCircuit.from_qasm_str('your QASM') and you can then get the simulator using Aer.get_backend('statevector_simulator').