Hands-on lab · 1 step
Compile the ZZ evolution from CNOT and RZ
Implement the two-qubit evolution exactly, using at most three gates from . This is the elementary building block of every diagonal (IQP-type) feature map, including the ZZ feature map of Havlíček et al.
0/1 step passedBest score 0/100
Step 1: Implement exp(−0.35i Z⊗Z) exactly
Build a two-qubit circuit whose unitary equals
Qubit is the most significant bit, so the basis order is , and the diagonal entry of is because .
The gate conventions are and (first listed qubit = control). Only CNOT and are allowed, at most three gates in total. The grader computes your circuit unitary and the process fidelity , which equals exactly when for some real , and requires .