Skip to main content
Problem List
Q91.Star Graph StateMedium

Q91.Star Graph State

Sampling & ModelsQubits: 4Q
A graph state has one qubit per vertex and one controlled-ZZ per edge. Build the star graph with Qubit 0 at the centre and Qubits 1, 2 and 3 as leaves.
Target Objective:
Put all four qubits in ∣+⟩|+\rangle and apply a controlled-ZZ from Qubit 0 to each of the others.
Judge Acceptance Criteria:

Statevector fidelity must reach ≥ 99.9% with the target unitary solution.

Gates:
q[0]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[1]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[2]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[3]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
Live Python / Qiskit Code (Edit to Update Circuit)
 
Type Qiskit Python code above to update gates on wires automatically0 gates · 4Q
0 gates placed4 Qubits · 8 Steps
State Measurement Distribution:16 non-zero basis states
|1000⟩0.0%
|1001⟩0.0%
|1010⟩0.0%
|1011⟩0.0%
|1100⟩0.0%
|1101⟩0.0%
|1110⟩0.0%
|1111⟩0.0%
|0000⟩100.0%
|0001⟩0.0%
|0010⟩0.0%
|0011⟩0.0%
|0100⟩0.0%
|0101⟩0.0%
|0110⟩0.0%
|0111⟩0.0%