iqm.iqm_client.models.validate_circuit#
- iqm.iqm_client.models.validate_circuit(circuit)#
Validates a submitted quantum circuit using Pydantic tooling. If the validation of the circuit fails, an exception is raised.
- Parameters:
circuit (Circuit) – a circuit that needs validation
- Raises:
pydantic.error_wrappers.ValidationError –
- Return type:
None