Skip to main content
IBM Quantum Platform
번역 정보

이 페이지의 추가 언어 번역이 곧 제공될 예정입니다.

samplex_to_json

samplomatic.serialization.samplex_to_json(samplex: Samplex, filename: str, ssv: int) → None

samplomatic.serialization.samplex_to_json(samplex: Samplex, filename: None, ssv: int) → str

GitHub

Dump a samplex to json.

Parameters

  • filename – An optional path to write the json to.
  • ssv – The samplex serialization to write.

Returns

Either the json as a string or None if filename is specified.

Raises

SerializationError – If ssv is incompatible.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.