# OzakiContour¶

class OzakiContour(number_of_poles)

An equilibrium contour using the Ozaki contour points and weights defined in [nOza07].

Parameters: number_of_poles (int) – The total number of poles to include in the calculation.
numberOfPoles()
Returns: The number of poles. int

## Usage Example¶

One can use the OzakiContour by defining it as an equilibrium contour. One has to supply the number of poles that will be used in the approximation.

equilibrium_contour = OzakiContour(number_of_poles=100)


To use it in a calculation of the equilibrium density matrix one has to set the equilibrium contour explicitly on the ContourParameters object,

contour_parameters = ContourParameters(equilibrium_contour=equilibrium_contour)


and save the contour_parameters on the DeviceCalculator (e.g. DeviceLCAOCalculator)

device_calculator = DeviceLCAOCalculator(contour_parameters=contour_parameters)
{"ft_lang_label":"__label__en","ft_lang_prob":0.7237141,"math_prob":0.9783869,"size":2130,"snap":"2019-35-2019-39","text_gpt3_token_len":533,"char_repetition_ratio":0.15333961,"word_repetition_ratio":0.0,"special_character_ratio":0.23380281,"punctuation_ratio":0.14958449,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98847276,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-23T15:54:41Z\",\"WARC-Record-ID\":\"<urn:uuid:e998d741-b8e9-4f46-b0f5-82c35a056b4c>\",\"Content-Length\":\"361586\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3496ad15-e674-4cc1-8ce4-22fe07ce4ec5>\",\"WARC-Concurrent-To\":\"<urn:uuid:f920cfcb-c87f-4a1f-8309-775c99868dd6>\",\"WARC-IP-Address\":\"162.144.252.113\",\"WARC-Target-URI\":\"https://docs.quantumatk.com/manual/Types/OzakiContour/OzakiContour.html\",\"WARC-Payload-Digest\":\"sha1:TRXQ3EGW37CVQQWW75OMQMJCGGFYYANY\",\"WARC-Block-Digest\":\"sha1:GMTH7W44QQPXN55X2ENETFDCSFNEOAM4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514577363.98_warc_CC-MAIN-20190923150847-20190923172847-00253.warc.gz\"}"}