Closed ttoktassynov closed 3 years ago
There is a bug in circuit initialization logic, particularly when creating a quantum circuit in "Register" mode, than there is an error.
Create a flow with one quantum and one classical register and run it, as in picture below:
Expected behavior is that I will a response {"10": 1}, but I receive error that quantum circuit is not initialized.
Node.js Version: v12.22.1
Operating System:Darwin tma.local 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64
It was resolved in mentioned PR
Bug Description
There is a bug in circuit initialization logic, particularly when creating a quantum circuit in "Register" mode, than there is an error.
Steps to Reproduce Bug
Create a flow with one quantum and one classical register and run it, as in picture below:![Screen Shot 2021-08-30 at 15 10 41](https://user-images.githubusercontent.com/25239936/131352667-d07caaef-8f5e-4bb5-8f34-a01973442898.png)
Expected Behaviour & Actual Behaviour
Expected behavior is that I will a response {"10": 1}, but I receive error that quantum circuit is not initialized.
Additional Information
System Information
Node.js Version: v12.22.1
Operating System:Darwin tma.local 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64