qecx.examples.path¶
- qecx.examples.path(name)¶
Return the path of the example file
namedistributed with the package.- Parameters:
name (str) – One of
names(), such as"steane_7_1_3.qecx".- Returns:
The file inside the installed package, ready to pass to
QECXDocument.load,load_qecxorvalidate_qecx_file.- Return type:
- Raises:
ValueError – If
nameis not one ofnames().