Bell State Creation and Measurement

b1ccec99-72d5-469a-8e6a-34b279babbad
2.0
Description

This circuit generates a Bell state and then measures it in different bases determined by rotations.

Qiskit Circuit Code
Python
```python
from qiskit import *
import math

# Create a circuit with 2 qubits and 2 classical bits
qc = QuantumCircuit(2, 2)

# Create a Bell state between qubits 0 and 1
qc.h(0)
qc.cx(0, 1)

# Apply measurement basis rotations for Alice and Bob
# Alice's measurement angle theta_A = π/4
qc.ry(2 * (math.pi / 4), 0)
# Bob's measurement angle theta_B = 0 (no rotation needed)

# Measure in the computational basis
qc.measure(0, 0)
qc.measure(1, 1)
```
Quantum Execution Results
ibm_kyiv
N/A
N/A shots
Execution Notice:

'Failed to run program: \'409 Client Error: Conflict for url: https://api.quantum.ibm.com/runtime/jobs. {"errors":[{"message":"You have reached the limit of 3 pending jobs. Please wait for a job to complete or cancel one before submitting anything new.","code":3458,"solution":"Wait until some previous jobs were finished. You can cancel pending jobs to run new jobs.","more_info":"https://docs.quantum-computing.ibm.com/errors"}]}\''

Raw Result Data
Download Results
Back to Home