Bell State Preparation and Measurement

581284a6-32d3-4351-b6c0-d71cb59e46ca
2.0
Description

This circuit creates two Bell pairs and measures the second one.

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

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

# Create the first Bell pair between qubits 0 and 1
qc.h(0)
qc.cx(0, 1)

# Create the second Bell pair between qubits 2 and 3
qc.h(2)
qc.cx(2, 3)

# Perform a Bell state measurement on qubits 1 and 2
qc.cx(1, 2)
qc.h(1)

# Measure qubits 1 and 2
qc.measure([1, 2], [0, 1])
```
Quantum Execution Results
ibm_brisbane
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