iqm.iqm_client.models.validate_circuit

iqm.iqm_client.models.validate_circuit#

iqm.iqm_client.models.validate_circuit(circuit: Circuit) None#

Validates a submitted quantum circuit using Pydantic tooling.

Parameters:

circuit (Circuit) – a circuit that needs validation

Raises:

pydantic.error_wrappers.ValidationError – validation failed

Return type:

None