qrao.encoding.z_to_31p_qrac_basis_circuit

z_to_31p_qrac_basis_circuit(basis)[source]

Return the basis rotation corresponding to the (3,1,p)-QRAC

Parameters:

basis (List[int]) – 0, 1, 2, or 3 for each qubit

Return type:

QuantumCircuit

Returns:

The QuantumCircuit implementing the rotation.