Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 1 #27

Open
Jer-lin opened this issue Jun 9, 2024 · 1 comment
Open

Lab 1 #27

Jer-lin opened this issue Jun 9, 2024 · 1 comment

Comments

@Jer-lin
Copy link

Jer-lin commented Jun 9, 2024

why Can't i build a bell state circuit with single z and x and cnot gate but it's possible with H gate... (Lab1)
any help is greatly appreciated

@dr-kinder
Copy link

With single X and Z gates, you cannot put either state into a superposition of |0> and |1>. Z multiplies each state by ±1 and X flips each state. You need H to get a superposition: H|0> = |0> + |1>. After this, the CNOT gate can entangle two qbits. With additional Z and X gates, you can create any of the 4 bell states.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants