Pentagon Cluster State Generation

21988f39-0fc3-45ed-8c91-b94d00a0d885
3.0
Description

This circuit initializes five qubits to the |+⟩ state, applies controlled-Z gates to form a cluster state in the shape of a pentagon and measures all qubits.

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

qc = QuantumCircuit(5, 5)

# Initialize all qubits to the |+⟩ state
qc.h(range(5))

# Apply controlled-Z gates to form a pentagon cluster state
qc.cz(0, 1)
qc.cz(1, 2)
qc.cz(2, 3)
qc.cz(3, 4)
qc.cz(4, 0)

# Measure all qubits
qc.measure(range(5), range(5))
```
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