{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://quantumsoftware.tech/schemas/nm-target-profile-0.1.schema.json","title":"N/M User Target Profile 0.1","type":"object","additionalProperties":false,"required":["format","version","profile","trust","integrity"],"properties":{"format":{"const":"nm-target-profile"},"version":{"const":"0.1"},"profile":{"type":"object","additionalProperties":false,"required":["id","label","description","nativeGates","maxQubits","recommendedMaxDepth","recommendedMaxTwoQubitGates","connectivity"],"properties":{"id":{"type":"string","pattern":"^user\\.[a-z][a-z0-9-]{0,62}$"},"label":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","minLength":1,"maxLength":512},"nativeGates":{"type":"array","minItems":1,"maxItems":28,"uniqueItems":true,"items":{"enum":["H","X","Y","Z","S","T","Sdg","Tdg","P","U","GPhase","Rx","Ry","Rz","CNOT","CZ","SWAP","iSWAP","CCNOT","CSWAP","CY","CH","RXX","RYY","RZZ","CRy","CRz","CP"]}},"maxQubits":{"type":"integer","minimum":1,"maximum":10000},"recommendedMaxDepth":{"type":"integer","minimum":1,"maximum":1000000},"recommendedMaxTwoQubitGates":{"type":"integer","minimum":0,"maximum":1000000},"connectivity":{"enum":["all-to-all","line","grid","unknown"]}}},"trust":{"type":"object","additionalProperties":false,"required":["source","providerAttested","liveAvailabilityChecked","calibrationIncluded"],"properties":{"source":{"const":"user-supplied-local"},"providerAttested":{"const":false},"liveAvailabilityChecked":{"const":false},"calibrationIncluded":{"const":false}}},"integrity":{"type":"object","additionalProperties":false,"required":["algorithm","profileHash"],"properties":{"algorithm":{"const":"fnv1a-64"},"profileHash":{"type":"string","pattern":"^[0-9a-f]{16}$"}}}}}