iqm.benchmarks.compressive_gst.compressive_gst.validate_gate_context#
- iqm.benchmarks.compressive_gst.compressive_gst.validate_gate_context(self)#
Validate that the gate context is properly configured.
Checks that: 1. If gate_context is a list, it has the same length as gate_set 2. The qubits used in gate_context don’t overlap with qubits in the layouts
- Raises:
ValueError – If gate_context is invalid or if qubits in gate_context overlap with qubits in layouts